Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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