python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to set up ItemTouchHelper with RoomDB?
So i want to make a To-Do app. I want to make CardView added to recyclerView swipeable. I used ItemTouchHelper but it does't work. Here is my code
MainActivity.kt
class MainActivity : AppCompatActivit...
Dominik
Votes: 0
Answers: 0
Positions getting messed up after filtering RecyclerView
So here is my issue:
I am fetching data from an api (successfully)
I am displaying this data in a recyclerview (successfully)
I am filtering the recyclerview using a searchview (sucessfully)
I have a...
rico
Votes: 0
Answers: 2
Pass data from activity to recyclerview in fragment kotlin
As part of one of my courses I need to display a recyclerview listing the car models according to the selected brand. I manage to retrieve the id of the brand in my activity. However, when I want to s...
JulienVrctr
Votes: 0
Answers: 1
Recyclerview opens different Activities with OnClick
This is the first time that I work with a RecyclerView, I can display a Toast for each item but I can't seem to get the getAbsoluteAdapterPosition() in my onBindViewHolderto get the position of my ite...
Emma.bk
Votes: 0
Answers: 0