Fix issue 845
This commit is contained in:
parent
6f0b029b96
commit
31aa4d3ec4
1 changed files with 2 additions and 1 deletions
|
@ -643,7 +643,7 @@ public class DownloadIndexActivity extends ExpandableListActivity {
|
|||
protected void onProgressUpdate(Object... values) {
|
||||
for(Object o : values){
|
||||
if(o instanceof DownloadEntry){
|
||||
((DownloadIndexAdapter) getExpandableListAdapter()).notifyDataSetChanged();
|
||||
((DownloadIndexAdapter) getExpandableListAdapter()).notifyDataSetInvalidated();
|
||||
findViewById(R.id.DownloadButton).setVisibility(
|
||||
entriesToDownload.isEmpty() ? View.GONE : View.VISIBLE);
|
||||
} else if(o instanceof String) {
|
||||
|
@ -672,6 +672,7 @@ public class DownloadIndexActivity extends ExpandableListActivity {
|
|||
if(mainView != null){
|
||||
mainView.setKeepScreenOn(false);
|
||||
}
|
||||
((DownloadIndexAdapter) getExpandableListAdapter()).notifyDataSetInvalidated();
|
||||
tracker.dispatch();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue