androidbroadcast / ViewBindingPropertyDelegate

Make work with Android View Binding simpler
https://proandroiddev.com/make-android-view-binding-great-with-kotlin-b71dd9c87719
Apache License 2.0
1.42k stars 102 forks source link

Version 1.5.8 onwards causes error in RecyclerView #113

Closed 67Samuel closed 1 year ago

67Samuel commented 1 year ago

Specifically, I get Unresolved reference: bindingAdapterPosition when trying to build my project.

In case it helps with debugging, I've found that adding implementation("androidx.recyclerview:recyclerview:1.3.0") directly as a dependency seems to solve this specific problem.

kirich1409 commented 1 year ago

The reasons is that I used android libraries only as compile depdendency to use API. You need to add required dependencies to your project by yourself