Add missing annotations
This commit is contained in:
parent
172b0db0ef
commit
4be4bb5733
4 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue