mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Fix adapter crash
This commit is contained in:
parent
2f4036c4a7
commit
0b71f7b017
1 changed files with 3 additions and 3 deletions
|
|
@ -78,7 +78,7 @@ public class NearbyListFragment extends ListFragment {
|
|||
nearbyList.execute();
|
||||
|
||||
Log.d(TAG, "Adapter set to ListView");
|
||||
mAdapter.notifyDataSetChanged();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -136,7 +136,7 @@ public class NearbyListFragment extends ListFragment {
|
|||
ListView listview = (ListView) getView().findViewById(R.id.listview);
|
||||
//setListAdapter(mAdapter);
|
||||
listview.setAdapter(mAdapter);
|
||||
|
||||
mAdapter.notifyDataSetChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue