Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class ApplicationMock extends MyApplication {
public void putActivityComponentBuilder(ActivityComponentBuilder builder, Class<? extends Activity> cls) {
Map<Class<? extends Activity>, ActivityComponentBuilder> activityComponentBuilders = new HashMap<>(this.activityComponentBuilders);
activityComponentBuilders.put(cls, builder);
this.activityComponentBuilders = activityComponentBuilders;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment