Skip to content

Tag: android-recyclerview

RecyclerView Items cover entire screen

I’m trying to make a simple chat room in android studio, but for some reason each chat message covers the entire screen. I’m trying to follow the example here on github https://github.com/android/views-widgets-samples/tree/main/RecyclerView/ I’m sure it’s just something super simple, b…

RecyclerView new items adding issue

I have a RecyclerView, it has 30 items and when I scroll to the end to load another 30 items, it goes to the first item. I tried to get current visible item then scroll to it when new items are added But it is not that smooth. I tried to scroll to listmap.size() but it will force the RecyclerView