Fix #5713
This commit is contained in:
parent
f762dce62d
commit
ffb9db6913
1 changed files with 2 additions and 0 deletions
|
@ -880,6 +880,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
|
|||
@Override
|
||||
protected void onPreExecute() {
|
||||
((OsmandActionBarActivity) getActivity()).setSupportProgressBarIndeterminateVisibility(true);
|
||||
listView.setEmptyView(null);
|
||||
allGpxAdapter.clear();
|
||||
}
|
||||
|
||||
|
@ -913,6 +914,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
|
|||
if (getActivity() != null) {
|
||||
((OsmandActionBarActivity) getActivity()).setSupportProgressBarIndeterminateVisibility(false);
|
||||
}
|
||||
listView.setEmptyView(emptyView);
|
||||
if (allGpxAdapter.getGroupCount() > 0 &&
|
||||
allGpxAdapter.isShowingSelection()) {
|
||||
getExpandableListView().expandGroup(0);
|
||||
|
|
Loading…
Reference in a new issue