Skip to content

Instantly share code, notes, and snippets.

@jraska
Last active February 16, 2020 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jraska/85d2e813dd78ae2d923f862b89e48840 to your computer and use it in GitHub Desktop.
Save jraska/85d2e813dd78ae2d923f862b89e48840 to your computer and use it in GitHub Desktop.
class App : Application()
override fun onCreate() {
super.onCreate()
appComponent.callbacks().forEach { registerActivityLifecycleCallbacks(it) }
}
// ... other App code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment