The following project is set up to handle Async tasks during various life cycle events in android.