Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

-1 votes
0 answers
6 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 ...
learn map's user avatar
0 votes
0 answers
9 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 ...
itsTanany's user avatar
  • 457
-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....
mbala's user avatar
  • 1
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 ...
18.5's user avatar
  • 31
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 ...
Abdullah Akram's user avatar
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....
Weird_dog's user avatar
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 ...
my apps's user avatar
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 ...
James's user avatar
  • 1
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) ...
kelalaka's user avatar
  • 5,426
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 ...
Anderson Matos's user avatar
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, ...
Rednet 's user avatar
0 votes
0 answers
10 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 ...
花未开's user avatar
  • 189
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 ...
Kircher 455's user avatar
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 ...
Freya19's user avatar
0 votes
1 answer
22 views

recyclerview-selection touch conflict with ItemTouchHelper move

I'm using recycler recyclerview-selection for selection and ItemTouchHelper.SimpleCallback for reorder the items. Like below: I can drag and drop the icon on the right (green) part for reordering, ...
William Hu's user avatar
  • 15.9k

15 30 50 per page
1
2 3 4 5
1881