Skip to content

Instantly share code, notes, and snippets.

@maxirosson
Last active August 27, 2021 02:17
Show Gist options
  • Save maxirosson/948e8c3f40106f00cf8d3b33f22abffe to your computer and use it in GitHub Desktop.
Save maxirosson/948e8c3f40106f00cf8d3b33f22abffe to your computer and use it in GitHub Desktop.
class MyApplication : Application() {
override fun onCreate() {
...
registerActivityLifecycleCallbacks(StartUpTimeActivityLifecycleCallbacks)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment