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;
|
timeSplit = fragmentAdapter.timeSplit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void onPreExecute() {
|
protected void onPreExecute() {
|
||||||
TrackActivity activity = activityRef.get();
|
TrackActivity activity = activityRef.get();
|
||||||
if (activity != null) {
|
if (activity != null) {
|
||||||
|
@ -808,6 +809,7 @@ public class TrackActivityFragmentAdapter implements TrackBitmapDrawerListener {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void onPostExecute(Void result) {
|
protected void onPostExecute(Void result) {
|
||||||
TrackActivity activity = activityRef.get();
|
TrackActivity activity = activityRef.get();
|
||||||
TrackActivityFragmentAdapter fragment = fragmentAdapterRef.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
|
// Needed to hide intermediate progress bar after closing action mode
|
||||||
new Handler().postDelayed(new Runnable() {
|
new Handler().postDelayed(new Runnable() {
|
||||||
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
hideProgressBar();
|
hideProgressBar();
|
||||||
}
|
}
|
||||||
|
|
|
@ -281,6 +281,7 @@ public class WikivoyageArticleDialogFragment extends WikiArticleBaseDialogFragme
|
||||||
popup.show();
|
popup.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void populateArticle() {
|
protected void populateArticle() {
|
||||||
if (tripId == NO_VALUE || langs == null) {
|
if (tripId == NO_VALUE || langs == null) {
|
||||||
Bundle args = getArguments();
|
Bundle args = getArguments();
|
||||||
|
@ -318,6 +319,7 @@ public class WikivoyageArticleDialogFragment extends WikiArticleBaseDialogFragme
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
@Override
|
||||||
protected String createHtmlContent() {
|
protected String createHtmlContent() {
|
||||||
StringBuilder sb = new StringBuilder(HEADER_INNER);
|
StringBuilder sb = new StringBuilder(HEADER_INNER);
|
||||||
String bodyTag = rtlLanguages.contains(article.getLang()) ? "<body dir=\"rtl\">\n" : "<body>\n";
|
String bodyTag = rtlLanguages.contains(article.getLang()) ? "<body dir=\"rtl\">\n" : "<body>\n";
|
||||||
|
|
|
@ -164,6 +164,7 @@ public class WikivoyageSearchDialogFragment extends WikiBaseDialogFragment {
|
||||||
@Override
|
@Override
|
||||||
public boolean publish(final List<WikivoyageSearchResult> results) {
|
public boolean publish(final List<WikivoyageSearchResult> results) {
|
||||||
getMyApplication().runInUIThread(new Runnable() {
|
getMyApplication().runInUIThread(new Runnable() {
|
||||||
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (!isCancelled()) {
|
if (!isCancelled()) {
|
||||||
setAdapterItems(results);
|
setAdapterItems(results);
|
||||||
|
|
Loading…
Reference in a new issue