From 35313161ac3d50e4077d7672b966ae86efd29829 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 1 Jan 2015 15:08:04 +0100 Subject: [PATCH] Try empty list fix in DashFavoritesFragment --- .../net/osmand/plus/dashboard/DashFavoritesFragment.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java index 9068facdfe..c2ac591e90 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java @@ -76,6 +76,12 @@ public class DashFavoritesFragment extends DashBaseFragment { updateLocation(location); } setupFavorites(); + + //Ckeck if this fixes that lists are empty when returning from the map screen + View view = getView(); + if (view != null) { + view.invalidate(); + } }