I am trying to populate data into a recycler view at both ends(older at bottom, newer at top), like Twitter does. I have done a little bit of research and found out that Deque (Double Ended Queue) can be used to add data at both ends.
My issue and question is once data is added into the Deque, how can it be populated into a recycler view using an adapter?