diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackActivityFragmentAdapter.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackActivityFragmentAdapter.java index 55609caaa8..36fc8fd2ec 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackActivityFragmentAdapter.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackActivityFragmentAdapter.java @@ -801,6 +801,7 @@ public class TrackActivityFragmentAdapter implements TrackBitmapDrawerListener { timeSplit = fragmentAdapter.timeSplit; } + @Override protected void onPreExecute() { TrackActivity activity = activityRef.get(); if (activity != null) { @@ -808,6 +809,7 @@ public class TrackActivityFragmentAdapter implements TrackBitmapDrawerListener { } } + @Override protected void onPostExecute(Void result) { TrackActivity activity = activityRef.get(); TrackActivityFragmentAdapter fragment = fragmentAdapterRef.get(); diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java index 9f49a81196..4f31f31bdc 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java @@ -341,6 +341,7 @@ public class TrackPointFragment extends OsmandExpandableListFragment implements } // Needed to hide intermediate progress bar after closing action mode new Handler().postDelayed(new Runnable() { + @Override public void run() { hideProgressBar(); } diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java index 6f69d2c332..7a3a76bede 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java @@ -281,6 +281,7 @@ public class WikivoyageArticleDialogFragment extends WikiArticleBaseDialogFragme popup.show(); } + @Override protected void populateArticle() { if (tripId == NO_VALUE || langs == null) { Bundle args = getArguments(); @@ -318,6 +319,7 @@ public class WikivoyageArticleDialogFragment extends WikiArticleBaseDialogFragme } @NonNull + @Override protected String createHtmlContent() { StringBuilder sb = new StringBuilder(HEADER_INNER); String bodyTag = rtlLanguages.contains(article.getLang()) ? "\n" : "\n"; diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/search/WikivoyageSearchDialogFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/search/WikivoyageSearchDialogFragment.java index 3f55994039..d6aba04e03 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/search/WikivoyageSearchDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/search/WikivoyageSearchDialogFragment.java @@ -164,6 +164,7 @@ public class WikivoyageSearchDialogFragment extends WikiBaseDialogFragment { @Override public boolean publish(final List results) { getMyApplication().runInUIThread(new Runnable() { + @Override public void run() { if (!isCancelled()) { setAdapterItems(results);