I'm fairly new to android programming but I have a questions about clicking on buttons
I've tried several tutorials but not sure if I get something
when I need a button to do something for me, I can do it in to ways:
a.add the line - android:onClick="methodName"
b. or just add an onClink listener
what is the difference between these to ways? or maybe they are not doing the same thing at all and I'm just confused? thanks.