In android studio(Kotlin), why ViewBinding and setOnApplyWindowInsetsListener conflicts?
When I use codes generated by android studio automatically and ViewBinding together, the programme will crash.
In android studio(Kotlin), why ViewBinding and setOnApplyWindowInsetsListener conflicts?
When I use codes generated by android studio automatically and ViewBinding together, the programme will crash.
How to use ViewBindings for mutiple layouts
I’m migrating from kotlinx.android.synthetic
to ViewBindings
.
I have two layouts(for phones and tablets) with the same set of ids: