You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AsyncTask is a helper class which helps us to use the UI thread properly. AsyncTask allows us to perform long-run/background operations and show its result on the UI thread without blocking threads. AsyncTasks should ideally be used for short operations (a few seconds at the most.) that will not affect our main thread.