From ca641775c80afdf209de9e251367d71f19d5d33e Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 3 Jan 2015 16:23:40 +0100 Subject: [PATCH] try with invalidate() --- .../src/net/osmand/plus/activities/FavouritesListFragment.java | 1 - OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/FavouritesListFragment.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesListFragment.java index 789b951831..b0d1f70c1c 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavouritesListFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesListFragment.java @@ -156,7 +156,6 @@ public class FavouritesListFragment extends SherlockListFragment implements Sear } } }); - notifyDataSetChanged(); } public FavouritesAdapter(Activity activity, List list) { diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java index d07fa0ac4b..f0045ab4ad 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java @@ -155,6 +155,7 @@ public class DashFavoritesFragment extends DashBaseFragment { favorites.addView(view); } updateLocation(location); + mainView.invalidate(); } private void updateArrows() {