diff --git a/app/src/main/res/layout/list_item.xml b/app/src/main/res/layout/list_item.xml index 7d868e5..bf2e260 100644 --- a/app/src/main/res/layout/list_item.xml +++ b/app/src/main/res/layout/list_item.xml @@ -18,7 +18,7 @@ android:id="@+id/list_item_last_name" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@{itemViewModel.lastName}" + android:text="@={itemViewModel.lastName}" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -27,7 +27,7 @@ android:id="@+id/list_item_first_name" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@{itemViewModel.firstName}" + android:text="@={itemViewModel.firstName}" app:layout_constraintBottom_toBottomOf="@id/list_item_last_name" app:layout_constraintStart_toEndOf="@id/list_item_last_name" app:layout_constraintTop_toTopOf="@id/list_item_last_name" /> @@ -37,7 +37,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" - android:text="@{itemViewModel.age}" + android:text="@={itemViewModel.age}" app:layout_constraintBottom_toBottomOf="@id/list_item_first_name" app:layout_constraintStart_toEndOf="@id/list_item_first_name" app:layout_constraintTop_toTopOf="@id/list_item_first_name" />