Prevent random crashes while paging through uploads list

TODO: I don't see why this happens. GRRRR
This commit is contained in:
YuviPanda 2013-03-20 04:44:38 +05:30
parent dbca99f38e
commit d18533eb87

View file

@ -114,7 +114,9 @@ public class MultipleUploadListFragment extends SherlockFragment {
} }
public void notifyDatasetChanged() { public void notifyDatasetChanged() {
photosAdapter.notifyDataSetChanged(); if(photosAdapter != null) {
photosAdapter.notifyDataSetChanged();
}
} }
@Override @Override