// Kotlin butterknife build error @BindView fields must not be private or static

参考:https://blog.csdn.net/nc_kai/article/details/102516598

生成之后添加注解:@JvmField

@JvmField
@BindView(R.id.input_id)
var inputId: EditText? = null

 

发表评论