package cn.muchinfo.rma.lifecycle

/**
* Status of a resource that is provided to the UI.
* <p>
* These are usually created by the Repository classes where they return
* {@code LiveData<Resource<T>>} to pass back the latest data to the UI with its fetch status.
*/
enum class Status {
    STATUS_SUCCESS,
    STATUS_ERROR,
    STATUS_EMPTY,
    STATUS_LOADING
}