Dynamic RecyclerView content with Firebase Realtime DB
I'm developing a simple activity where I have to show a dynamic list of reservations. The list has to be synchronized with the Firebase Realtime DB.
What I did
I created a Reservation class with the relative ReservationAdapter and the dedicated layout item_customer_reservation.xml. Up to now, I populate every item with the same informations, just for testing purposes.
class ReservationAdapter(private val reservationList: Array) : RecyclerView.Adapter()
{
inner class...