Created
January 23, 2019 10:57
-
-
Save Unlimity/a61d08740142f50dbd5843e10fca075c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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