kotlinx.android.synthetic unused android studio issue
问题 I am working one project using kotlin + Rxjava + MVVM. During development facing issue of importing view ids in Fragment or viewholder. import kotlinx.android.synthetic.main.layout.* unused with kotlin. Normaly view id should used from kotlin synthetic layout imports but it directly import it from R.id that should not happen. Kotlin plugin version : org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.40 My gradle file : apply plugin: 'com.android.feature' apply plugin: 'kotlin-android' apply plugin