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
1
answer
28
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
16
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
8
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 ...
-1
votes
0
answers
11
views
Can't see my recyclerview item except after screen rotation [closed]
I am building android app using kotlin with firebase firestore. I discovered that anytime I fetch data to display on the homepage fragment, the data do not appear unless I rotate the screen of my ...
0
votes
0
answers
21
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
10
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 ...
0
votes
1
answer
21
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, ...
0
votes
0
answers
38
views
Deleted Item from Room Database Reloads after app restart
So i have a recyclerview with few items(meals) where a user adds from a alertdialog. When I start the app and add a meal then immediately delete it and quit the app , when starting it second time the ...
0
votes
1
answer
17
views
Only highlight single item in nestes recycler view
I have a nested recycler view where the user should only be able to pick one single item inside the child recycler views. When an item is clicked on it is highlighted. Unfortunately the user is able ...
0
votes
1
answer
28
views
How to Change RecyclerView Item Layout When Scrolled to Center Horizontally in Android?
I'm working on an Android app and I want to implement a RecyclerView where the item layout changes when it is scrolled to the center horizontally. I've included an image below to show what I'm aiming ...
0
votes
1
answer
40
views
Cannot display Data from my layout viewBinding
I am new to Android Studio. I have been following a tutorial on how to create a Kotlin-based MVVM app with Firebase. I created a data class called ServiceOrder that contains all the necessary data ...
0
votes
1
answer
38
views
How do I make each item of RecyclerView start a unique Activity?
I am developing a recipes app. I want to make it so that clicking Breakfast Entrees goes to Breakfast Entrees Activity, clicking Desserts goes to Desserts Activity, clicking Drinks goes to Drinks ...
0
votes
0
answers
21
views
How to change the order or RecyclerView items in GridLayoutManager?
I have written my own implementation of GridLayoutManager to display specific given number of rows and columns of RecyclerView.
The problem is, that the items are being rendered in a top-to-bottom ...
0
votes
0
answers
22
views
Increasingly Large Spacing Between Rows in a RecyclerView in a ConstraintLayout
The spacing between rows in my RecyclerView becomes increasingly large. Setting layout_height to wrap_content didn't seem to fix this common spacing issue.
XML of recycler row:
<?xml version="...
0
votes
0
answers
34
views
How to change the order of displayed items in horizontal RecyclerView using GridLayoutManager with constructor?
I want to create a horizontal RecyclerView that displays the items in such form:
Item1 Item2 Item3 Item4 Item5 | Item11 Item12 Item13 Item14 Item15
Item6 Item7 Item8 Item9 Item10 | Item16 Item17 ...
...