Does the return of a result from the doInBackground method on AsyncTask to the UI have the potential to cause unexpected race conditions? Using 'get' can make the UI wait for the computation to return the result, but that seems to defeat the objective on running a task in background.
Relevant documentation:
https://developer.android.com/reference/android/os/AsyncTask.html
See Question&Answers more detail:os