Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
0 votes
2 answers
40 views

How do you fix this weird behaviour with RecyclerView and GridLayoutManager?

I have a simple app using RecyclerView with GridLayoutManager. When the app starts, it looks like this: If I tap on 6, 12, 18 & 24 it looks like this: But if I now tap on 6 to unselect it, it ...
Shaun Ross's user avatar
0 votes
1 answer
44 views

How can i check the button state in recyclerview?

I'm currently working on an app. There are three fragments. One is the home page fragment where there's a list of some popular locations of the world listed in a RecyclerView. And the other one is the ...
eliftekin's user avatar
0 votes
1 answer
35 views

Why does a recycler implemented into a fragment return "No adapter attached; skipping layout" when logging suggests otherwise?

I am trying to implement a custom calendar so I am using a recycler view. I have my main activity that I have programmed a navbar with to switch between fragments. This is set up using a nav graph. ...
Euan Hall's user avatar
0 votes
0 answers
29 views

Show and hide notification red dot when the alarm is triggered in android

I have an item list in recylerview, whenever an alarm is triggered for an item, I want that item to have red dot on its corner to let the user know that they need to take some action. I have tried a ...
M Baig's user avatar
  • 209
-1 votes
0 answers
29 views

A BottomSheet Dialog With The Stick Input text or Pin the View At the Bottom

enter image description here I want to make the BottomSheet Dialog Like the instagram having comment bottom sheet. dialog i try to make like that but the input text is not stick at the bottom of ...
Android Dev's user avatar
3 votes
3 answers
138 views

Weird issue with RecyclerView layout manager is still processing its child views after the view has been removed

I'm experimenting with functionality involving a screen that has a RecyclerView positioned at the bottom. XML: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout ...
Sirop4ik's user avatar
  • 5,203
0 votes
1 answer
113 views

Custom Search edittext and CheckBox Not Appearing in Selection Mode with RecyclerView and ListAdapter in Android

I am developing an app that displays a list of audio clips, I use a RecyclerView with a ListAdapter. I’ve implemented a Selection Mode feature where users can select multiple items, but I’m ...
Dr Mido's user avatar
  • 2,693
1 vote
1 answer
62 views

RecyclerView retains old data in ViewHolder when new items miss some attributes – how to properly reset?

I have a RecyclerView where each item can have dynamic attributes (e.g., some items have distance and difficulty, while others only have distance). When a ViewHolder is reused, old attribute values ...
Alexander Zhurkin's user avatar
0 votes
0 answers
18 views

How to make CarUiContentListItem (in CarUiRecyclerView) selectable?

I am implementing a CarUiRecyclerView with CarUiContentListItem in a com.android.car.settings.common.BaseFragment. Here is my layout xml of the fragment. <LinearLayout xmlns:android="http://...
user318245's user avatar
0 votes
0 answers
25 views

Android ConcatAdapter: disable scrolling of header adapter view

Trying to add custom static header to RecyclerView. ConcatAdapter looks good, but is it possible to freeze the header view at the top of list? Thanks.
Konstantin Konopko's user avatar
0 votes
0 answers
27 views

How to Set Height Width Automatically When Focus on ItemView in Recyclerview in Android?

i have try setOnFoucsChangeListner for Itemview in Recyclerview in ViewHolder binding.image.setOnFocusChangeListener { v, hasFocus -> manageFocusAnimation(hasFocus, recyclerview) } ...
rasik artoon's user avatar
0 votes
3 answers
54 views

Android RecyclerView to show video slider

I want to show videoes in recycler view, the problem is when I swap from the first video and back to the first, the first video reloads again, I want to make all videoes loaded at once and when I swap ...
Ammar Momani's user avatar
0 votes
0 answers
12 views

Animation measure() function is not calculating full height issue

The measure() function is not calculating the correct height on the first click, which is causing the full height issue. The RecyclerView is getting an incorrect height on the first click, but after ...
Prince's user avatar
  • 1
0 votes
0 answers
73 views

How can we save data on runtime in Adapter Class?

I am facing some issues in saving data on my runtime(temporary saving) in my adapter class of my bottomsheet for an invoice acknowledgement. Here is one photo explaining all the flow : Also I have ...
Sati Anshul's user avatar
1 vote
1 answer
20 views

RecycleView with Swipe Gestures: Content is not Returning to its Original Position when I Interact with Another Item

As the title suggests, I'm trying to make a RecyclerView that reveals a button when swiped to the left, while making it so that the content will remain visible when it is swiped. I managed to do so by ...
Lock's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
1951