Merge pull request #888 from Bars107/downloads

Fixed bug with updates not showing after rotation
This commit is contained in:
vshcherb 2014-09-27 11:50:46 +03:00
commit 1e5c88ace0

View file

@ -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