Skip to content

Instantly share code, notes, and snippets.

@iammert
Created June 28, 2017 11:44
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 iammert/845f06762ffbe73d30050b8a5776f6d6 to your computer and use it in GitHub Desktop.
Save iammert/845f06762ffbe73d30050b8a5776f6d6 to your computer and use it in GitHub Desktop.
Activity Builder with Map
@Module
public abstract class ActivityBuilder {
@Binds
@IntoMap
@ActivityKey(MainActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindMainActivity(MainActivityComponent.Builder builder);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment