diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java index 29951db19a..c0ab357e0c 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java @@ -182,6 +182,7 @@ public class ExploreRvAdapter extends RecyclerView.Adapter> fragments = new ArrayList<>(); private LockableViewPager viewPager; - private boolean finishDownloading = false; @Override public void onCreate(Bundle savedInstanceState) { @@ -314,12 +313,10 @@ public class WikivoyageExploreActivity extends TabActivity implements DownloadEv public void populateData() { switchProgressBarVisibility(true); - finishDownloading = false; new LoadWikivoyageData(this).execute(); } private void onDataLoaded() { - finishDownloading = true; switchProgressBarVisibility(false); updateSearchBarVisibility(); updateFragments(); @@ -356,9 +353,7 @@ public class WikivoyageExploreActivity extends TabActivity implements DownloadEv } public void onTabFragmentResume(Fragment fragment) { - if(finishDownloading) { - updateFragments(); - } + updateFragments(); } @Override