Fixed bug with updates not showing after rotation

This commit is contained in:
Denis 2014-09-26 18:01:03 +03:00
parent adb0e3e145
commit b50b78842d

View file

@ -60,7 +60,8 @@ public class UpdatesIndexFragment extends SherlockListFragment {
if(listAdapter == null){ if(listAdapter == null){
return; return;
} }
listAdapter.setIndexFiles(items); listAdapter = new UpdateIndexAdapter(getDownloadActivity(), R.layout.download_index_list_item, items);
setListAdapter(listAdapter);
} }
@Override @Override