Created
January 2, 2021 04:29
-
-
Save gb103/625527f760fdfafcc6436732950e3864 to your computer and use it in GitHub Desktop.
Add entry into application class to install split compat features.
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
class MyApplication : SplitCompatApplication() { | |
... | |
} | |
override fun attachBaseContext(base: Context) { | |
super.attachBaseContext(base) | |
// Emulates installation of future on demand modules using SplitCompat. | |
SplitCompat.install(this) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment