mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fixed NPE while rapidly switching between list and map, during data loading.
This commit is contained in:
parent
f1edbfbedd
commit
1bc8dee806
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ public class NearbyListFragment extends DaggerFragment {
|
|||
|
||||
Bundle bundle = this.getArguments();
|
||||
if (bundle != null) {
|
||||
String gsonPlaceList = bundle.getString("PlaceList");
|
||||
String gsonPlaceList = bundle.getString("PlaceList", "[]");
|
||||
placeList = gson.fromJson(gsonPlaceList, LIST_TYPE);
|
||||
|
||||
String gsonLatLng = bundle.getString("CurLatLng");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue