Remove AsyncTask utility methods

This commit is contained in:
veyndan 2017-03-24 04:59:52 +00:00
parent ef9799ec07
commit 36fe8e3089
6 changed files with 9 additions and 34 deletions

View file

@ -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.