ltm150895
04/17/2018, 12:24 AMKotlin Android Extensions
, but is there a way to replace also the annotation @OnClick
for example ?gildor
04/17/2018, 1:42 AMimport kotlinx.android.synthetic.main.button
fun onViewCreated() {
button.setOnClickListener {
toast("Clicked!")
}
}
ltm150895
04/17/2018, 1:43 AMkenkyee
04/18/2018, 7:00 AMltm150895
04/19/2018, 12:13 AMltm150895
04/19/2018, 12:13 AMgildor
04/19/2018, 12:21 AM