<Convertng Firestore collection to an ArrayList of...
# stackoverflow
u
Convertng Firestore collection to an ArrayList of custom objects I am developing an app where I need to fetch the data from Cloud Firestore and then add them to an ArrayList to show in the recyclerView. My log messages show that the data fetch is successful, but the resultant array size is 0. I don't know why this is happening even though I have followed the reference guides to best of my capability. Here's the custom object class: data class HubModel ( val hubName: String = "", val hubRef : String = "", val isAdmin: Boolean =...