Final fix for "list are empty when returning to the Dashboard" issue
This commit is contained in:
parent
bd7f2f7df6
commit
402e69d8df
2 changed files with 1 additions and 7 deletions
|
@ -16,7 +16,7 @@ public class DashBaseFragment extends SherlockFragment {
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
//Test if this works
|
||||
//This fixes the "list are empty when returning to the Dashboard" issue
|
||||
View view = getView();
|
||||
if (view != null) {
|
||||
view.invalidate();
|
||||
|
|
|
@ -69,12 +69,6 @@ public class DashUpdatesFragment extends DashBaseFragment {
|
|||
cancelButton = null;
|
||||
}
|
||||
updatedDownloadsList(BaseDownloadActivity.downloadListIndexThread.getItemsToUpdate());
|
||||
|
||||
//This seems to fix the "list are empty when returning to Dashboard" issue, but should probably be called more globally in MainMenuActivity or DashBaseFragment?
|
||||
//View view = getView();
|
||||
//if (view != null) {
|
||||
// view.invalidate();
|
||||
//}
|
||||
}
|
||||
|
||||
public void updatedDownloadsList(List<IndexItem> list) {
|
||||
|
|
Loading…
Reference in a new issue