I had covered the basics of working with a AsyncTask in Android quite some time back. But there was a small mistake in my interpretation of how to cancel a AsyncTask. In this video I basically talk you through what this correction is and how to use cancel a AsyncTask correctly. We would be talking about isCancel and onCacelled methods of AsyncTask.
Follow me on Twitter: https://twitter.com/anilvdeshpande
Github link to source code: https://github.com/AnilDeshpande/UIThreadDemo/tree/async-task-code