Created
January 13, 2020 12:45
-
-
Save igorescodro/d6e10ec480448ababf104643ab438a60 to your computer and use it in GitHub Desktop.
Developing your own Dynamic Feature
This file contains hidden or 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
manager.registerListener { | |
when (it.status()) { | |
SplitInstallSessionStatus.DOWNLOADING -> showToast("Downloading feature") | |
SplitInstallSessionStatus.INSTALLED -> { | |
showToast("Feature ready to be used") | |
updateDynamicFeatureButtonState() | |
} | |
else -> { /* Do nothing in this example */ } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment