Add view binding dependency and example (#4681)

* Add view binding dependency and example

* Add comments

* Minor change in a comment
This commit is contained in:
Madhur Gupta 2021-10-21 17:27:35 +05:30 committed by GitHub
parent a9a2565ea3
commit 6da3c78d7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 40 deletions

View file

@ -9,7 +9,9 @@
android:id="@+id/toolbarLayout"
android:layout_width="wrap_content"
android:layout_height="?attr/actionBarSize">
<include layout="@layout/toolbar"/>
<include
android:id="@+id/toolbarBinding"
layout="@layout/toolbar"/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"