Summary

At a high level, this chapter has covered the following:

  • Using an async task instead of handlers to do work in a background worker thread
  • Using a progress dialog to monitor the progress of background work
  • Dealing with device rotation
  • Why you should care about an activity's life cycle methods
  • Best practices when writing an async task

Get Pro Android 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.