Created
March 17, 2019 16:51
-
-
Save amanjeetsingh150/7bd5aaa7039051a389b122052ece0a5b to your computer and use it in GitHub Desktop.
This file contains 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
public final class ActivityModule_ProvideMainViewModelFactory implements Factory<MainViewModel> { | |
/*Other code*/ | |
@Override | |
public MainViewModel get() { | |
return Preconditions.checkNotNull( | |
module.provideMainViewModel(dataManagerProvider.get()), | |
"Cannot return null from a non-@Nullable @Provides method"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment