Created
November 8, 2019 06:13
-
-
Save herisulistiyanto/0d779c16646a4ad9fbc237f33ff09d81 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
class DashboardViewModel(private val movieRemoteDataSource: MovieRemoteDataSource) : ViewModel() { | |
fun discoverAllMovies() = movieRemoteDataSource.discoverAllMovies(viewModelScope) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment