please suggest me how to execute something after 10 seconds from the start of AsyncTask.
I have used AsyncTask for different purpose. But, now I want to update my UI after 10 seconds.
Or to show a toast after specific time.
I actually want to perform some other task after 10 seconds, while the original task is running
please let me know how to do this.?
Thank you all.
just use any view instead of handler in onPreExecute method of your async task like: