I'm developing an app in which I'm retrieving some data from Firebase
database.
The problem is that everytime I save something, it gets retrieved and gets added to the bottom of the RecyclerView
.
What I want is I want the newly added data to get added to the top of the recyclerview and not at the bottom.
I have no idea how to do what I want to do.
Please let me know.