Skip to content

Instantly share code, notes, and snippets.

@saadfarooq
Last active March 8, 2018 10:10
Show Gist options
  • Save saadfarooq/160ab344832333d887fe1a84341a5009 to your computer and use it in GitHub Desktop.
Save saadfarooq/160ab344832333d887fe1a84341a5009 to your computer and use it in GitHub Desktop.
<RecyclerView
android:id="@+id/recycler"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:visibleIfNotNull="@{viewModel.items}"
android:itemView="@{viewModel.itemView}"
android:items="@{viewModel.items}"
android:layoutManager="@{LayoutManagers.linear()}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment