Skip to content

Instantly share code, notes, and snippets.

@cohenItay
Last active July 18, 2022 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cohenItay/b59286a3d3f6c08d32739e2df787fe17 to your computer and use it in GitHub Desktop.
Save cohenItay/b59286a3d3f6c08d32739e2df787fe17 to your computer and use it in GitHub Desktop.
val isLoading: LiveData<Boolean> = MutableLiveData(false)
val myError: LiveData<MyErrorModel> = MutableLiveData(null)
val myConcreteData: LiveData<MyConcerteDataModel> = MutableLiveData(null)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment