Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@Component(modules = {
public interface AppComponent {
UserComponent.Builder userComponentBuilder();
@Subcomponent(modules = UserModule.class)
public interface UserComponent {
interface Builder {
UserComponent.Builder sessionModule(UserModule userModule);
UserComponent build();
UserDetailsActivityComponent plus(UserDetailsActivityComponent.UserDetailsActivityModule module);
@Subcomponent(modules = UserDetailsActivityComponent.UserDetailsActivityModule.class)
public interface UserDetailsActivityComponent {
UserDetailsActivity inject(UserDetailsActivity activity);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment