mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Merge pull request #1009 from psh/nearby-crash-while-loading
Fixed NPE while rapidly switching between list and map on Nearby
This commit is contained in:
commit
7a3f7e54e2
3 changed files with 10 additions and 2 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