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

Fix issue #73 - AbstractMethodError in DefaultLifecycleObserver #84

Closed glebovser closed 2 years ago

glebovser commented 2 years ago

Problem with desugaring in some AGP versions: https://issuetracker.google.com/issues/194289155#comment21 Solution 1 - override ALL DefaultLifecycleObserver's methods - https://stackoverflow.com/questions/59067743/what-is-this-error-and-why-this-doesnt-happen-when-i-dont-use-library-like-a-c/60873211#60873211 Solution 2 - replace DefaultLifecycleObserver with LifecycleObserver

kirich1409 commented 2 years ago

I will fix it by my own