Handling extensive operations in UI thread

If we need to do some extensive operations in UI thread, then create a new thread and do in that thread, so that in UI thread, we can show something else, like progressBar or manually create an animation and can show.


Popular posts from this blog

Open Gallery and get the selected image in appplication

Dismiss or Cancel dialog by swipe gesture

AlarmManager and Notification in Android