Created
October 18, 2016 13:56
-
-
Save frogermcs/5232f6fb0775c929a4924cdb66c32d0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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