Created
June 29, 2019 17:51
-
-
Save jeremyrempel/81560f1877ca60f1e5c236f74c211fb3 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 | |
class MyFactoryModule { | |
@Provides | |
fun providesModelFactory(modelFactory: MyViewModelFactory): ViewModelProvider.Factory = modelFactory | |
| |
@Provides | |
fun providesFragFactory(fragFactory: MyFragmentFactory): FragmentFactory = fragFactory | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment