Skip to content

Instantly share code, notes, and snippets.

@iamBedant
Created February 5, 2018 15:30
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 iamBedant/15883da00b1ce9c5c414012ca6364bdb to your computer and use it in GitHub Desktop.
Save iamBedant/15883da00b1ce9c5c414012ca6364bdb 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