NextFaze / power-adapters

Composable adapters for Android RecyclerViews and ListViews
Apache License 2.0
108 stars 13 forks source link

ObservableDataBuilder doesn't set loading to false after error #55

Closed BenTilbrook closed 6 years ago

BenTilbrook commented 6 years ago

After an error occurs from a content observable, and the caller didn't supply a loading observable, Data.isLoading == true, which isn't right. Loading has ceased once the stream terminates.

Workaround:
Supply a loading observable that emits false on error.