vigu vigu - 4 months ago 116x
Android Question

How to auto scroll up Recycler view in Android?

I have developed some chat application where i can send and received messages. But the problem is whenever i send or receive messages the recycler view is not scrolling to top so that messages gets diplayed above the keypad.i have used the above mentioned recycler view

Please help me out.


on updating recyclerview try to run this code : Runnable() {
                        public void run() {
                            //call smooth scroll