Forked from CodyEngel/AwesomeButtonActivity_1.java
Created
February 3, 2019 11:13
Easiest On click method
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One reason why I avoid this is because it clutters up your onCreate method. This becomes even more apparent when you want to observe click events from multiple views. Of course retrolambda or simply using Kotlin would make it possible to take this from 5 lines down to a single line.