Call notifyDataSetChanged() to trigger view updates
Calling notifyDataSetInvalidated() would mean that we abaddon this adapter Fixes #84 (again)
This commit is contained in:
parent
0ada623946
commit
86c6a3b326
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2010, 2011 Christopher Eby <kreed@kreed.org>
|
* Copyright (C) 2010, 2011 Christopher Eby <kreed@kreed.org>
|
||||||
* Copyright (C) 2015 Adrian Ulrich <adrian@blinkenlights.ch>
|
* Copyright (C) 2015-2016 Adrian Ulrich <adrian@blinkenlights.ch>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
@ -158,7 +158,7 @@ public class FileSystemAdapter
|
|||||||
public void commitQuery(Object data)
|
public void commitQuery(Object data)
|
||||||
{
|
{
|
||||||
mFiles = (File[])data;
|
mFiles = (File[])data;
|
||||||
notifyDataSetInvalidated();
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user