Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-10-21 10:12:15 +02:00
commit e02b5eb301

View file

@ -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);