Skip to content

Instantly share code, notes, and snippets.

@Unlimity
Created January 23, 2019 10:57
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/a61d08740142f50dbd5843e10fca075c to your computer and use it in GitHub Desktop.
Save Unlimity/a61d08740142f50dbd5843e10fca075c to your computer and use it in GitHub Desktop.
Boots {
// Adding instance of bootable to the system
add(DeviceIdBootable(applicationContext))
// Requesting to boot all bootables and saving listener instance
listener = boot(all()) {
onBoot = { /* do something */ }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment