Java源码示例:dagger.android.ActivityKey

示例1
@Binds
@IntoMap
@ActivityKey(LiveDataRowsActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindActivityInjectorFactory(LiveDataOverviewActivitySubcomponent.Builder builder);
 
示例2
@Binds
@IntoMap
@ActivityKey(AppActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindAppActivityInjectorFactory(AppActivitySubcomponent.Builder builder);
 
示例3
@Binds
@IntoMap
@ActivityKey(MainActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindMainActivityInjectorFactory(MainActivitySubcomponent.Builder builder);
 
示例4
@Binds
@IntoMap
@ActivityKey(RecordsActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindRecordActivityInjectorFactory(RecordsActivitySubcomponent.Builder builder);
 
示例5
@Binds
@IntoMap
@ActivityKey(StatisticActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindStatisticActivityInjectorFactory(StatisticActivitySubcomponent.Builder builder);
 
示例6
@Binds
@IntoMap
@ActivityKey(SingleContactRecordActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindSingleContactRecordActivityInjectorFactory(SingleContactRecordActivitySubcomponent.Builder builder);
 
示例7
@Binds
@IntoMap
@ActivityKey(LiveDataRowsActivity.class)
abstract AndroidInjector.Factory<? extends Activity> bindActivityInjectorFactory(LiveDataOverviewActivitySubcomponent.Builder builder);
 
示例8
@Binds
@IntoMap
@ActivityKey(MainActivity.class)
abstract AndroidInjector.Factory<? extends Activity>
bindMainActivityInjectorFactory(MainActivitySubcomponent.Builder builder);
 
示例9
@Binds
@IntoMap
@ActivityKey(SearchResultsActivity.class)
abstract AndroidInjector.Factory<? extends Activity>
bindSearchResultsActivityInjectorFactory(SearchResultsActivitySubcomponent.Builder builder);
 
示例10
@Binds
@IntoMap
@ActivityKey(AuthActivity.class)
abstract AndroidInjector.Factory<? extends Activity>
bindAuthActivityInjectorFactory(AuthActivitySubcomponent.Builder builder);
 
示例11
@Binds
@IntoMap
@ActivityKey(RepoDetailsActivity.class)
abstract AndroidInjector.Factory<? extends Activity>
bindRepoDetailsActivityInjectorFactory(RepoDetailsActivitySubcomponent.Builder builder);
 
示例12
@Binds
@IntoMap
@ActivityKey(BuildDetailsActivity.class)
abstract AndroidInjector.Factory<? extends Activity>
bindBuildDetailsActivityInjectorFactory(BuildDetailsActivitySubcomponent.Builder builder);
 
示例13
@Binds
@IntoMap
@ActivityKey(MainActivity.class)
abstract AndroidInjector.Factory<? extends Activity> main(MainActivityComponent.Builder impl);
 
示例14
/**
 * 第一种注入方式。需要 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);