Created
December 15, 2019 04:28
-
-
Save khunzohn/652789e9ca8f6082bd6d034566a9e882 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
viewModelScope.launch { | |
try { | |
val movies = movieService.getUpcomingMovies() | |
} catch (e: Exception) { | |
//... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment