Created
July 13, 2020 01:39
-
-
Save sberoch/03ff730d40470847ac3334b180234d5a 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
class CharactersViewModel @ViewModelInject constructor( | |
private val repository: CharacterRepository | |
) : ViewModel() { | |
val characters: LiveData<Resource<List<Character>>> = repository.getCharacters() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment