How use ProgressDialog and Async Task get Method simultaneously
问题 I have generic async task class which fetches response from server . And i receive those response by using get method . Now i knw that UI thread is block when i use get method , bcoz of which my progress Dialog doesnt showup on time . Now can someone tell me alternative to do this ?? (In every case i need to send back the response to the activity which has made the call of execute so opening new activity wouldn't help me ) Code : AsyncTask Class public class GetDataFromNetwork extends