Last active
July 11, 2017 11:27
-
-
Save iammert/edbb4c2780de4d0d49456be78ce4b00e to your computer and use it in GitHub Desktop.
genresfragment.java
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
viewModel.getGenres().observe(this, listResource -> { | |
refreshLayout.setRefreshing(listResource.status == Status.LOADING); | |
genresAdapter.setGenres(listResource.data); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment