本文整理汇总了Java中dagger.android.ContributesAndroidInjector类的典型用法代码示例。如果您正苦于以下问题:Java ContributesAndroidInjector类的具体用法?Java ContributesAndroidInjector怎么用?Java ContributesAndroidInjector使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ContributesAndroidInjector类属于dagger.android包,在下文中一共展示了ContributesAndroidInjector类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: contributeSplashFragment
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector
abstract SplashFragment contributeSplashFragment();
示例2: bindLobbyFragment
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = LobbyFragmentModule.class)
// or you can gain access to lobby dependencies from fragment via:
// @ContributesAndroidInjector(modules = {LobbyFragmentModule.class, LobbyActivityModule.class})
abstract LobbyFragment bindLobbyFragment();
示例3: bindMyAddressModule
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector
abstract MyAddressActivity bindMyAddressModule();
示例4: contributeAppDetailsFragment
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@FragmentScope
@ContributesAndroidInjector(modules = { AppDetailFragModule.class })
abstract AppDetailsFragment contributeAppDetailsFragment();
示例5: contributeForecastActivityInjector
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector
abstract ForecastActivity contributeForecastActivityInjector();
示例6: bindLoginActivity
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = LoginActivityModule.class)
abstract LoginActivity bindLoginActivity();
示例7: provideBlogFragmentFactory
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = BlogFragmentModule.class)
abstract BlogFragment provideBlogFragmentFactory();
示例8: profileFragment
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector
abstract ProfileFragment profileFragment();
示例9: contributeSplashActivity
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ActivityScope
@ContributesAndroidInjector
abstract SplashActivity contributeSplashActivity();
示例10: searchFragment
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@FragmentScope
@ContributesAndroidInjector(modules = {SearchModule.class})
public abstract SearchFragment searchFragment();
示例11: bindLocationActivity
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = LocationActivityModule.class)
abstract LocationActivity bindLocationActivity();
示例12: bindLocationFragment
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = LocationFragmentModule.class)
abstract LocationFragment bindLocationFragment();
示例13: bindPagerActivity
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = PagerActivityModule.class)
abstract PagerActivity bindPagerActivity();
示例14: bindBlankFragmentA
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = BlankFragmentAModule.class)
abstract BlankFragmentA bindBlankFragmentA();
示例15: bindBlankFragmentB
import dagger.android.ContributesAndroidInjector; //导入依赖的package包/类
@ContributesAndroidInjector(modules = BlankFragmentBModule.class)
abstract BlankFragmentB bindBlankFragmentB();