mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 14:23:55 +01:00
Remove AsyncTask utility methods
This commit is contained in:
parent
ef9799ec07
commit
36fe8e3089
6 changed files with 9 additions and 34 deletions
|
|
@ -242,7 +242,7 @@ public class MediaDetailFragment extends Fragment {
|
|||
}
|
||||
}
|
||||
};
|
||||
Utils.executeAsyncTask(detailFetchTask);
|
||||
detailFetchTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||
} else {
|
||||
//This should not usually happen, image along with associated details should always be loaded from Internet, but keeping this for now for backup.
|
||||
//Even if image is loaded from device storage, it will display, albeit with empty desc and cat.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue