Closed FilipeLipan closed 2 months ago
@Lucas-Israel yes, but avoid keeping this empty fields -> android:text=""
also it's not a good practice to use "textview1" "textview2" "textview3" Try to use names that clearly explain the purpose of the field.
https://github.com/Lucas-Israel/trybnb/blob/b8ec8285ecb51c3396b7840be2fa4a55662e3f9d/app/src/main/res/layout/list_item_reservation.xml#L8
This works fine, but it is not well-regarded in the industry. We should avoid using data binding to set data and instead use a RecyclerView
https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView
you already have an Adapter it's a easy change