ahegazy
07/27/2018, 11:33 AMOnClick annotation and also the ability to use it in any class like a ViewHolder for examplearekolek
07/27/2018, 11:39 AMsomeButton.setOnClickListener {
// do stuff
}
so arguably even easier than 2️⃣ ?ahegazy
07/27/2018, 11:48 AMonCreate method
@OnClick(R.id.some_button) fun onSomeButtonClicked() {
// do something
}
but more importantly having the ability to use it in any class like a ViewHolder is a huge advantage for me