ProgressDialog not shown when AsyncTask.get() called [duplicate]

Yes, get() waits if necessary for the computation to complete, and then retrieves its result. This means, that you are blocking your UI thread, waiting for the result.

Solution: Don’t call get

Usually, you will call a function (callback) in the postExecute.

Leave a Comment