dagger.android.DaggerApplication Java Examples

The following examples show how to use dagger.android.DaggerApplication. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AppComponent.java    From AndroidPlusJava with GNU General Public License v3.0 4 votes vote down vote up
@Override
void inject(DaggerApplication instance);
 
Example #2
Source File: AndroidPlusApp.java    From AndroidPlusJava with GNU General Public License v3.0 4 votes vote down vote up
@Override
protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
    return DaggerAppComponent.create();
}
 
Example #3
Source File: MyApplication.java    From MaoWanAndoidClient with Apache License 2.0 4 votes vote down vote up
@Override
protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
    //return DaggerAppComponent.builder().myAppModule(new MyAppModule()).build();
    return DaggerAppComponent.create();
}
 
Example #4
Source File: SmsCodeApplication.java    From XposedSmsCode with GNU General Public License v3.0 4 votes vote down vote up
@Override
protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
    return DaggerApplicationComponent.factory().create(this);
}
 
Example #5
Source File: HorizonMainApplication.java    From triviums with MIT License 4 votes vote down vote up
@Override
protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
    return DaggerHorizonMainComponent.builder().create(this);
}
 
Example #6
Source File: FriendlyEatsApp.java    From firestore-android-arch-components with Apache License 2.0 4 votes vote down vote up
@Override
protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
    return DaggerAppComponent.create();
}