Created
June 14, 2020 10:17
-
-
Save saurabharora90/b3888a261e0a3000d1ea589bac0ee230 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
interface ModuleInitializer { | |
/** Initializes a module given the application Context | |
* | |
* @return A Completable if the module needs the app to wait for its setup to complete before proceeding. | |
* If the module setup doesn't need an asynchronous setup, then it can simply return Completable.complete() | |
*/ | |
fun initialize(context: Context): Completable | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment