Created
May 7, 2019 10:14
-
-
Save rodolfoizidoro/1f1e46b029956c3828317e1f7f496d57 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
private val mMovies = MutableLiveData<List<Movies>>() | |
private val mLoading = MutableLiveData<Boolean>() | |
private val mError = MutableLiveData<Thowable>() | |
val movies: LiveData<List<Movies>> get() = mMovies | |
val loading: LiveData<Boolean> get() = mLoading | |
val error: LiveData<Thowable> get() = mError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment