Skip to content

Instantly share code, notes, and snippets.

@janishar
Last active December 25, 2016 18:40
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 janishar/c87cd23af42ef9fb43e916e5d22ec500 to your computer and use it in GitHub Desktop.
Save janishar/c87cd23af42ef9fb43e916e5d22ec500 to your computer and use it in GitHub Desktop.
@Singleton
@Component(modules = ApplicationModule.class)
public interface ApplicationComponent {
void inject(DemoApplication demoApplication);
@ApplicationContext
Context getContext();
Application getApplication();
DataManager getDataManager();
SharedPrefsHelper getPreferenceHelper();
DbHelper getDbHelper();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment