<Cant scroll to new item in RecyclerView> I just w...
# stackoverflow
u
Cant scroll to new item in RecyclerView I just want recycler view to scroll to last position when receiving message from StompClient. I am using StompClient library. And when i am getting new message i am updating RV Adapter, but i cant scroll it for some reason. I've tried postdelaying it but it worked only in OnClickListener, not in coroutine, in coroutine i am trying with withContext(Dispatchers.Main) but it is not working as well.

https://i.stack.imgur.com/BCHnI.png