mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Prevent random crashes while paging through uploads list
TODO: I don't see why this happens. GRRRR
This commit is contained in:
parent
dbca99f38e
commit
d18533eb87
1 changed files with 3 additions and 1 deletions
|
|
@ -114,7 +114,9 @@ public class MultipleUploadListFragment extends SherlockFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void notifyDatasetChanged() {
|
public void notifyDatasetChanged() {
|
||||||
photosAdapter.notifyDataSetChanged();
|
if(photosAdapter != null) {
|
||||||
|
photosAdapter.notifyDataSetChanged();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue