<Kotlin Android Extensions and AndroidX seem not c...
# stackoverflow
u
Kotlin Android Extensions and AndroidX seem not casting correctly Views When I try to use AndroidX for my Android/Kotlin project, a lot of Views recovered by KAE are failing in my code (Type mismatch) because they are all defined with the View! type. For example, here :

https://i.stack.imgur.com/AUE5h.png

or here :

https://i.stack.imgur.com/WJKwW.png

What happen ? This is my Gradle:app : apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin:...