Hello, I'm trying Kotlin today. :sparkles: :spark...
# android
k
Hello, I'm trying Kotlin today. Seem
kotlin-android-extensions
only support for productFlavours without buildTypes. import
kotlinx.android.synthetic.debug.activity_main
but not success. How do you know use the plugin with buildTypes (ex: debug & release)? 🙌
v
Unfortunately it is not supported yet https://youtrack.jetbrains.com/issue/KT-14086
t
this issue along with lack of consistent caching behavior has me wanting to use databinding or butterknife over the kotlin extensions.
k
Thanks, hope supported soon!
l
@trevjones Use kotterknife or your own code to do it
t
yea currently doing manual find by ID in places where the variant isn’t supported. Then using lazy delegates for caching when using the view extensions.