davideas / FlexibleAdapter

Fast and versatile Adapter for RecyclerView which regroups several features into one library to considerably improve the user experience :-)
Apache License 2.0
3.56k stars 552 forks source link

EmptyView & EmptyViewHelper #439

Open davideas opened 7 years ago

davideas commented 7 years ago

UI extension for FlexibleAdapter able to display the current state of the list, such as:

A Helper class that enhances the Adapter by implementing OnUpdateListener that manages the visibility with animations too. The Helper and the View will support:

AlexisQapa commented 6 years ago

Hi what's the status of the support for error views ? Also will there be a nice way to connect this to the ViewModel extension to handle Content, Empty and Error

webserveis commented 6 years ago

I usually combine with the library LadSir with liveData on viewModel send a flag control taskStatus LOADING EMPTY ERROR COMPLETED and then I show the proper view. Ttake a look when you have time