dagger.android.ActivityKey Java Examples
The following examples show how to use
dagger.android.ActivityKey.
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: ActivityBuildersModule.java From tv-samples with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ActivityKey(LiveDataRowsActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindActivityInjectorFactory(LiveDataOverviewActivitySubcomponent.Builder builder);
Example #2
Source File: ActivitiesModule.java From android-auto-call-recorder with MIT License | 4 votes |
@Binds @IntoMap @ActivityKey(AppActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindAppActivityInjectorFactory(AppActivitySubcomponent.Builder builder);
Example #3
Source File: ActivitiesModule.java From android-auto-call-recorder with MIT License | 4 votes |
@Binds @IntoMap @ActivityKey(MainActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindMainActivityInjectorFactory(MainActivitySubcomponent.Builder builder);
Example #4
Source File: ActivitiesModule.java From android-auto-call-recorder with MIT License | 4 votes |
@Binds @IntoMap @ActivityKey(RecordsActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindRecordActivityInjectorFactory(RecordsActivitySubcomponent.Builder builder);
Example #5
Source File: ActivitiesModule.java From android-auto-call-recorder with MIT License | 4 votes |
@Binds @IntoMap @ActivityKey(StatisticActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindStatisticActivityInjectorFactory(StatisticActivitySubcomponent.Builder builder);
Example #6
Source File: ActivitiesModule.java From android-auto-call-recorder with MIT License | 4 votes |
@Binds @IntoMap @ActivityKey(SingleContactRecordActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindSingleContactRecordActivityInjectorFactory(SingleContactRecordActivitySubcomponent.Builder builder);
Example #7
Source File: ActivityBuildersModule.java From leanback-showcase with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ActivityKey(LiveDataRowsActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindActivityInjectorFactory(LiveDataOverviewActivitySubcomponent.Builder builder);
Example #8
Source File: MainActivityModule.java From Varis-Android with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ActivityKey(MainActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindMainActivityInjectorFactory(MainActivitySubcomponent.Builder builder);
Example #9
Source File: SearchResultsActivityModule.java From Varis-Android with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ActivityKey(SearchResultsActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindSearchResultsActivityInjectorFactory(SearchResultsActivitySubcomponent.Builder builder);
Example #10
Source File: AuthActivityModule.java From Varis-Android with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ActivityKey(AuthActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindAuthActivityInjectorFactory(AuthActivitySubcomponent.Builder builder);
Example #11
Source File: RepoDetailsActivityModule.java From Varis-Android with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ActivityKey(RepoDetailsActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindRepoDetailsActivityInjectorFactory(RepoDetailsActivitySubcomponent.Builder builder);
Example #12
Source File: BuildDetailsActivityModule.java From Varis-Android with Apache License 2.0 | 4 votes |
@Binds @IntoMap @ActivityKey(BuildDetailsActivity.class) abstract AndroidInjector.Factory<? extends Activity> bindBuildDetailsActivityInjectorFactory(BuildDetailsActivitySubcomponent.Builder builder);
Example #13
Source File: ActivityBinderModule.java From rootvalidator with GNU General Public License v3.0 | 4 votes |
@Binds @IntoMap @ActivityKey(MainActivity.class) abstract AndroidInjector.Factory<? extends Activity> main(MainActivityComponent.Builder impl);
Example #14
Source File: WeatherActivityModule.java From MVVMArms with Apache License 2.0 | 2 votes |
/** * 第一种注入方式。需要 Subcomponent * <p> * 第二种{@link WeatherNowFragmentModule} * * @see <a href="https://github.com/xiaobailong24/DaggerAndroid">DaggerAndroid</a> */ @Binds @IntoMap @ActivityKey(WeatherActivity.class) public abstract AndroidInjector.Factory<? extends Activity> bindWeatherActivityInjectorFactory(WeatherActivitySubcomponent.Builder builder);