https://kotlinlang.org logo
r

raghuramjampala

08/31/2017, 1:25 PM
Hey Guys did anyone have issues in adding @OnClick annotation for kotlin activity using butterknife it doesn't look like the listener getting called
a

annyce

08/31/2017, 1:39 PM
No, haven't had any issues.
r

raghuramjampala

08/31/2017, 1:41 PM
did you use kotterknife? or just butterknife
I can see kotterknife is just for binding views
a

annyce

08/31/2017, 1:42 PM
Butterknife
Copy code
@OnClick(R.id.startDayFab)
fun handleStartDayClick() = presenter.startUsersDay()
r

raghuramjampala

08/31/2017, 1:44 PM
cool I'll check once again
thanks @annyce
👍 1