Created
September 27, 2017 15:09
-
-
Save husaynhakeem/fdc8999e968282c3503b6d9d23b1393d 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
MainViewModel viewModel = ViewModelProviders.of(this).get(MainViewModel.class); | |
final PokemonAdapter adapter = new PokemonAdapter(); | |
viewModel.pokemonList.observe(this, adapter::setList); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment