LiveData在某些情况下,new 可以用作RxJava可观察对象的替代品.但是,与之不同的是Observable,LiveData没有错误回调.
LiveData
Observable
我的问题是:我应该如何处理错误LiveData,例如,当某些网络资源由于某个网络资源而无法检索时IOException?
IOException
android android-architecture-components
android ×1
android-architecture-components ×1