From b50b78842d50d1b09fdee178a6c2f284b935d4a2 Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 26 Sep 2014 18:01:03 +0300 Subject: [PATCH] Fixed bug with updates not showing after rotation --- OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java b/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java index f0813a0cf9..f58be933c3 100644 --- a/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java +++ b/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java @@ -60,7 +60,8 @@ public class UpdatesIndexFragment extends SherlockListFragment { if(listAdapter == null){ return; } - listAdapter.setIndexFiles(items); + listAdapter = new UpdateIndexAdapter(getDownloadActivity(), R.layout.download_index_list_item, items); + setListAdapter(listAdapter); } @Override