Created
April 5, 2020 13:24
-
-
Save klukwist/29d1dd267cbd7de135b1fa8133b814d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layout> | |
<data> | |
<variable | |
name="position" | |
type="Integer" /> | |
<variable | |
name="viewModel" | |
type="plus.yeti.prostoadapter.ui.main.PersonItemViewModel" /> | |
</data> | |
<androidx.constraintlayout.widget.ConstraintLayout> | |
<TextView | |
android:text="@{viewModel.getName(position)}" | |
... /> | |
<TextView | |
android:text="@{viewModel.getEmail(position)}" | |
.../> | |
<ImageView | |
app:visible="@{viewModel.hasDog(position)}" | |
.../> | |
</androidx.constraintlayout.widget.ConstraintLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment