Add missing annotations

This commit is contained in:
Alex Sytnyk 2018-06-06 22:02:57 +03:00
parent 3edeeac27c
commit 08e3f9d2bc
4 changed files with 6 additions and 0 deletions

View file

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

View file

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

View file

@ -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()) ? "<body dir=\"rtl\">\n" : "<body>\n";

View file

@ -164,6 +164,7 @@ public class WikivoyageSearchDialogFragment extends WikiBaseDialogFragment {
@Override
public boolean publish(final List<WikivoyageSearchResult> results) {
getMyApplication().runInUIThread(new Runnable() {
@Override
public void run() {
if (!isCancelled()) {
setAdapterItems(results);