Gudin Gudin - 1 year ago 80
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download