Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
modules = UserModule.class
public interface UserComponent {
UserProfileActivity inject(UserProfileActivity activity);
//===== =====
@Component(modules = {...})
public interface AppComponent {
// Factory method to create subcomponent
UserComponent plus(UserModule module);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.