Demonstrates the various methods within a MainActivity called during an Android Apps lifecycle.