Skip to content

Instantly share code, notes, and snippets.

@CarlitosDroid
Created March 30, 2019 04:34
Show Gist options
  • Save CarlitosDroid/6f4aee54b9d1839f3c89eadab2e455cc to your computer and use it in GitHub Desktop.
Save CarlitosDroid/6f4aee54b9d1839f3c89eadab2e455cc to your computer and use it in GitHub Desktop.
The UserComponent in the User Dynamic Feature Module
@Component(modules = [UserModule::class], dependencies = [CoreComponent::class])
interface UserComponent : BaseComponent<UserActivity> {
@Component.Builder
interface Builder {
fun build(): UserComponent
fun coreComponent(component: CoreComponent): Builder
fun userModule(component: UserModule): Builder
fun sharePreferencesModule(module: SharedPreferencesModule): Builder
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment