Created
November 3, 2020 11:12
-
-
Save emrekose26/4769b024ce46dc5f30eb5f3344f24692 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
lifecycleScope.launch { | |
viewModel.getPopularMovies().collectLatest { | |
adapter.submitData(it) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment