Category "android-recyclerview"

PagerSnapHelper smooth scroll to the top

I have a screen with a RecyclerView with vertical orientation. I have derived PagerSnapHelper to allow smooth-scrolling vertically, one item at a time. The prob

Recyclerview not displaying items

Before setting the dataset to the adapter, I am getting the dataset from the Room database, and then I set the data to the adapter and set the adapter to the re

Android RecyclerView only contain one item after adding items got from asynchronous retrofit calls

I have a recycler view for image display with a simple adapter. public class ImageListAdapter extends RecyclerView.Adapter<ImageListAdapter.SingleItemRowHold

RecyclerView: Inconsistency detected. Invalid item position

Our QA has detected a bug: when rotating the Android device (Droid Turbo), the following RecyclerView-related crash happened: java.lang.IndexOutOfBoundsExce

How to build a horizontal ListView with RecyclerView

I need to implement a horizontal listview in my Android application. I did a bit of research and came across How can I make a horizontal ListView in Android? an

how to make thumbnail image with initials two char from name android?

I want to thumbnail initials with two word for my image view like "Peter Parker" but am able to get only one word "P"while running code how can get second word

recyclerview problem when scrooling right half screen

When scrolling from left half screen of the mobile scrolling is happening but when i scroll from right half screen scroling is not happening. This is my xml clo

Auto scroll recyclerview slider

I am new to Android development. I am trying to create an auto scroll recyclerview slider which also supports user events such as next and previous buttons and

RecyclerView Adapter is repeating values at wrong places

I am displaying 17 CardViews. I am using RecyclerView to achieve the same. Each CardView shows a common data (format). Depending on data received from a JSO

Why my RecyclerView updated while I don't notify the adapter?

I have some trouble to understand why my recyclerView get update while I add the data only after setAdapter() and never call notifyDataSetChanged() ! In the sa

Android Accessability RecyclerView reading "in list X items"

So I am using RecyclerView for a page. When the user goes from outside the recyclerview to inside the recyclerview, talkback reads "in list X items" (x is numbe

Applovin Template native ad in recycler view adapter

I need help implementing Applovin native ads in recycler view. I cannot find any references on how to implement app lovin native template ads in recycler view a

RecyclerView items duplicate and constantly changing

What's Happening: The list (RecyclerView) is mixing up the data when I scroll. I.E when I scroll back up after scrolling down, some of the list items are

Firebase recyclerview always refreshes and losses its scroll position when starting new activity and returning

My Firebase recycler view always refreshes and loses its scroll position when opening new activity and coming back. Tried multiple solution in Stack Overflow bu

How to prevent touches prematurely stopping smoothScroll in RecyclerView?

I am using an Adapter to fill a RecyclerView with numerous CardView layouts (horizontally). Each CardView has a Button at the bottom of the layout, which when p

Automatically scroll to bottom of RecyclerView

I have a fragment that has a RecyclerView inside its layout file. The RecyclerView holds messages in a chat. So naturally, I need the RecyclerView to scroll to

How to open a different activity on recyclerView item onclick

i am using a recyclerView to show my listitems in the navigation drawer.I have implemented the onclickListener but i have been stuck on how to open a different

An instance of OnFlingListener already set in Recyclerview

I'm using a RecyclerView in my Android app. I've many cardviews in my RecyclerView, such that only 1 cardview is displayed to the user at a time. The user has t

Recycler View Not Showing

I have been making an app that uses a recycler view in a navigation drawer. Why the contents of the recycler view are not showing up. The view is definitely the

Searchview with endless scrolling in android

My Adapter public class AdapterItem extends RecyclerView.Adapter<RecyclerView.ViewHolder> { private final int VIEW_ITEM = 1; private final int VIEW_PRO