Questions tagged [android-recyclerview]
The RecyclerView widget is a more advanced and flexible version of ListView and GridView.
android-recyclerview
29,341
questions
0
votes
0
answers
2
views
i have RecyclerView in kotlin project this recycler shows list of mp3 files and i want to when mp3 finish jump automatically to next itemView
i can't jump from current itemView to Next ItemView in recyclerView
but this within recyclerView
i have RecyclerView in kotlin project this recycler shows list of mp3 files and i want to when mp3 ...
0
votes
0
answers
8
views
Paginated Data, Should I keep it as state of the screen or only internal state to recycler view adapter?
How to manage paginated data in a StateFlow for a RecyclerView?
Should I store only the last fetched page in the StateFlow and accumulate data in the adapter, or should I store the entire dataset in ...
-1
votes
0
answers
21
views
recyclerView does not have parameters
I wanted to make a simple app that would open a PDF/txt file and audio file with the same name simultaneously, and I was following this guide as it seemed to be the closest to what I wanted to achieve....
0
votes
1
answer
38
views
How to pass data from recyclerview adapter to a fragment?
I am trying to pass a data from my adapter when clicked in recycler view to a fragment. i have implemented the click listener but can't pass data to the fragment and also get the passed data inside ...
0
votes
0
answers
18
views
How to achieve Gemini Recycler View Effect that only shows the latest two components in RecyclerView?
I want my RecyclerView to display the latest message at the top of the visible screen, pushing the rest of the components up. Only the most recent component should be fully visible below it, similar ...
0
votes
1
answer
28
views
In RecyclerView, why I got -1 when I want to get the position of item being clicked?
I write the click in the adapter.(This adapter deal with an image and a text.)
class FruitAdapter (val fruitList:List<Fruit>)://Fruit is a data class for an image with its text
RecyclerView....
0
votes
0
answers
25
views
Duplicating Last Item of First Page and not getiing last item in RecycleView
i am making app from Laravel Api, i am stuck into problem that i am fetching the list of posts but when i scroll down to get second page i am not getting last post instead getting last post of first ...
0
votes
0
answers
21
views
Kotlin databinding for a custom view (canvas) for a recyclerview with multiple viewtypes
Previously I used kotlin synthetics, but now I'm trying to upgrade to data binding.
I have a recyclerview in a fragment and it will have multiple view types all of which will be custom-draw with a ...
0
votes
0
answers
29
views
Sharing PagingData between two recylerviews in Android
I've two recyclerview and need to share the same PagingDataFlow into both, so they can display the same data ( some horizontal scrolling issue, so some data will be on left some will be on the right)
...
0
votes
0
answers
21
views
RecyclerView Filter
I have a Fragment which is made up of 3 components. It is mounted using this Adapter.
I need help with a filter in RecyclerView. Currently the filter is working for the first time, but when I delete ...
0
votes
2
answers
43
views
RecyclerviewAdapter using firebase doesn't sort correctly for more than 5 items
I'm experiencing an issue with my RecyclerView adapter. When I have fewer than 5 items in my Firebase database, the adapter works perfectly, and tapping an item displays the correct details. However, ...
0
votes
0
answers
20
views
Android Studio Scroll only Text in textview inside RecyclerView but not all page
I have a problem with RecyclerView.
When I fill my descTextView to my adapter file. DescTextView Scrool is not working. I want to scrool just text in descTextView.
If i change layout_height to ...
0
votes
0
answers
9
views
Inconsistent width caused by adding items to FlexBoxLayoutManager
My project uses ContactAdapter to combine several adapters, but the main layout is FlexBoxLayoutManager, so I set FlexBoxLayoutManager for Recyclerview.
Currently, there is an adapter that has been ...
0
votes
0
answers
22
views
Is there any way to optimize the loading of items (layout) in a RecyclerView?
I know that coroutines help with the data in the RecyclerView, but my problem is not the data, because the item inside the recycler don't use images or database, my problem is the layout i am using, I ...
0
votes
0
answers
11
views
How to swipe front card at the bottom position in overlapping cards in android?
I have a set of overlapping cards like this Overlapped cards
So what I want to achieve is When I swipe LEFT the front card (A) it should move to bottom of all the overlapped cards and the card B below ...