Skip to content

Instantly share code, notes, and snippets.

@iammert
Created October 21, 2016 06:47
Show Gist options
  • Save iammert/89ab45695d74b24f2df382286c33d339 to your computer and use it in GitHub Desktop.
Save iammert/89ab45695d74b24f2df382286c33d339 to your computer and use it in GitHub Desktop.
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:bind="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<data>
<variable
name="viewModel"
type="com.main.MainViewModel" />
</data>
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<include
android:id="@+id/included"
layout="@layout/layout_textview"
bind:viewModel="@{viewModel}" />
</layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment