Create A Custom Progress Bar Using AsyncTask

Overview:

If you have an Activity which needs to download content or perform operations that can be done in the background AsyncTask allows you to maintain a responsive user interface and publish progress for those operations to the user.