I am trying to store my firebase data in an arraylist and then use it, but when I try to read the arraylist it shows null or only 2 data. Using the Log, I realize that the childEventListener is …
Tag: android-recyclerview
I am designing a shopping app via Kotlin & Firebase. I am using recycler view in an inbuilt fragment . There is one activity which is responsible for multiple fragments , for example one fragment …
I’m using MVVM design pattern and so the native data binding. Is it possible to use multiple data variable for one view in data binding? I mean that I have one xml layout that use data binding and I …
Using Android Studio 4.2.1 and trying to handle a RecyclerView I get an error when trying to build my own ViewAdapter. I’ve added implementation ‘androidx.recyclerview:recyclerview:1.2.1’ to my build….
I have created a image slider using ViewPager2, I need a functionality that when I swipe up the image should be removed. I already worked with RecyclerView. So I remember I can use ItemTouchHelper….
Im trying to display info from firebase firestore, but I get only one record in Recycleview. I do not know the reason of this. I have multiple records in my firestore collection, but only first one in …
I am trying to use data binding with RecyclerView. I set up a simple application that shows the numbers 1 to 50, one on each row, in a RecyclerView. And I want to use data binding to each row. Here is …
I use the android room to save my data , and it I could get the data from database successfully . However , when I invoke setAdapter() ,the app crash . Here is my code of Adapter public class …
I have a Horizontal recyclerview and adapter, inside that image, then below title and then below description is there. now image and title length will be almost same for all elements but the desc may …
I’m trying to have item removed from my list but I get following error Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: public inline fun