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;
|
package net.osmand.plus.download.ui;
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.content.res.TypedArray;
|
import android.content.res.TypedArray;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -102,10 +101,15 @@ public class DownloadResourceGroupFragment extends DialogFragment implements Dow
|
||||||
listAdapter = new DownloadResourceGroupAdapter(activity);
|
listAdapter = new DownloadResourceGroupAdapter(activity);
|
||||||
listView.setAdapter(listAdapter);
|
listView.setAdapter(listAdapter);
|
||||||
|
|
||||||
reloadData();
|
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onResume() {
|
||||||
|
super.onResume();
|
||||||
|
reloadData();
|
||||||
|
}
|
||||||
|
|
||||||
private void reloadData() {
|
private void reloadData() {
|
||||||
DownloadResources indexes = activity.getDownloadThread().getIndexes();
|
DownloadResources indexes = activity.getDownloadThread().getIndexes();
|
||||||
group = indexes.getGroupById(groupId);
|
group = indexes.getGroupById(groupId);
|
||||||
|
|
Loading…
Reference in a new issue