Skip to content

Instantly share code, notes, and snippets.

@Unlimity
Created January 24, 2019 08:04
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 Unlimity/b6507deee9fbcd7dacb44fdb8601bab1 to your computer and use it in GitHub Desktop.
Save Unlimity/b6507deee9fbcd7dacb44fdb8601bab1 to your computer and use it in GitHub Desktop.
class SplashActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate()
Boots {
boot(all()) {
onBoot = { report -> sendToAnalytics(report) }
onFailure = { report -> logErrors(report) }
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment