kotlin-android-extensions stop working if lifecycle-extensions is included in gradle
After adding the Android lifecycle component to my project with the following line: implementation("androidx.lifecycle
lifecycle extensions$lifecycleVersion")
in my app's build.gradle.kts file all the import kotlinx.android.synthetic stop working, lifecycleVersion is defined as "2.0.0"
It gives me the following error in the places where I use the imported views. And the imports are marked as unused by the IDE
Unresolved reference. None of the following candidates is applicable because...