A small simple exploration of the activity lifecycle also showing the events when a dialogfragment is triggered in place of an Activity shown as a dialog