After setAdapter()
or inside onClick
function write this code :
recyclerView.scrollToPosition(data.size() - 1);
recyclerView
: is your RecyclerView object
data
: your ArrayList
0
solved go to last item in recyclerview [closed]
After setAdapter()
or inside onClick
function write this code :
recyclerView.scrollToPosition(data.size() - 1);
recyclerView
: is your RecyclerView object
data
: your ArrayList
0
solved go to last item in recyclerview [closed]