Created
November 11, 2019 20:25
-
-
Save kirich1409/693d4dd6de706428417dec5b3829ba97 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Module | |
object AppModule { | |
@Provides | |
fun provideFragmentFactory( | |
fragmentProviders: Map<Class<out Fragment>, @JvmSuppressWildcards Provider<Fragment>> | |
): FragmentFactory { | |
return InjectFragmentFactory(fragmentProviders) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment