Skip to content

Instantly share code, notes, and snippets.

@alaershov
Created June 4, 2019 17:30
Show Gist options
  • Save alaershov/5cb65fc5d9cd27d690b40ad56a3c0fec to your computer and use it in GitHub Desktop.
Save alaershov/5cb65fc5d9cd27d690b40ad56a3c0fec to your computer and use it in GitHub Desktop.
Toothpick: open App scope
public final class App extends Application {
@Override
public void onCreate() {
super.onCreate();
Scope appScope = Toothpick.openScope("APP");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment