本文整理匯總了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();