Created
June 20, 2019 19:22
-
-
Save ceruleanotter/d265330dbb9476dc8c9a3714d45d39dc to your computer and use it in GitHub Desktop.
ViewModel Integrations: Data Binding Example 2
This file contains hidden or 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
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
<data> | |
<variable name="viewmodel" | |
type="com.android.MyViewModel"/> | |
</data> | |
<... Rest of your layout ...> | |
</layout> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment