Fix adapter crash

This commit is contained in:
misaochan 2016-08-30 19:03:35 +12:00
parent 2f4036c4a7
commit 0b71f7b017

View file

@ -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();
}
}