Skip to content

Instantly share code, notes, and snippets.

@frogermcs
Last active July 20, 2016 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frogermcs/19ed274d7977764ea87fcaca11201cd0 to your computer and use it in GitHub Desktop.
Save frogermcs/19ed274d7977764ea87fcaca11201cd0 to your computer and use it in GitHub Desktop.
Component vs Subcomponent blog post
@UserScope
@Component(
modules = UserModule.class,
dependencies = AppComponent.class
)
public interface UserComponent {
UserProfileActivity inject(UserProfileActivity activity);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment