Created
June 4, 2019 18:00
-
-
Save alaershov/ae861bdd4a1b9ac30c1d5dce8420c663 to your computer and use it in GitHub Desktop.
Toothpick: sample App
This file contains hidden or 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 final class App extends Application { | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
Scope appScope = Toothpick.openScope("APP"); | |
appScope.installModules(new RepositoryModule(getApplicationContext())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment