Allows a component to respond to app state events from AppStateMonitor.
Called when the application state changes
Called when the application receives a memory warning
Called when the network connection type is changed