Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e02b5eb301
1 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
package net.osmand.plus.download.ui;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.TypedArray;
|
||||
import android.os.Bundle;
|
||||
|
@ -102,10 +101,15 @@ public class DownloadResourceGroupFragment extends DialogFragment implements Dow
|
|||
listAdapter = new DownloadResourceGroupAdapter(activity);
|
||||
listView.setAdapter(listAdapter);
|
||||
|
||||
reloadData();
|
||||
return view;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
reloadData();
|
||||
}
|
||||
|
||||
private void reloadData() {
|
||||
DownloadResources indexes = activity.getDownloadThread().getIndexes();
|
||||
group = indexes.getGroupById(groupId);
|
||||
|
|
Loading…
Reference in a new issue