android-application-lifecycle.This repository contains examples of the application lifecycle in Android, including how to identify foreground and background events, as well as strategies to avoid overriding lifecycle methods in Activity and Fragment.