RecyclerView’s main purpose is to render lists of data. That data can be fetched from anywhere, including memory, hard disk, database and over network. There is no guarantee that we will find that data when we are attempting to fetch it since errors can occur along the way.
Moreover, fetching that data especially over a network involves some latency and wait time. In short, there are various states that working with data involves and it makes sense for our recyclerview to be able to automatically react to these states.
There are several open source examples and libraries that already solve this for us. In this thread we want to share some good examples and libraries that involve the recyclerview states or kotlin. Code will be in either Kotlin or Java.
Feel free to share some yourself.