Fixed NPE while rapidly switching between list and map, during data loading.

This commit is contained in:
Paul Hawke 2017-12-08 14:31:00 -06:00
parent f1edbfbedd
commit 1bc8dee806

View file

@ -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");