Gudin Gudin - 9 months ago 58
Android Question

Make Recycler View show rows from bottom

I saw somewhere method to make Recycler View show ViewHolders from bottom to top. Now, i can't find it anywhere (after half of hour going through RecyclerView, RecyclerAdapter, LayoutManager...).

Answer Source

Is it LinearLayoutManager.setStackFromEnd(true) you are looking for?


Turns out LinearLayoutManager.setReverseLayout(true) does the trick. Either way, the reader may want to try each of the methods and the combination of both to get the needed effect.