I'm developing a sample app for android and my level is beginner.
For simplicity assume that I have three buttons namely A,B,C.
Instead of these buttons triggering different functions every time as they are clicked, all these buttons trigger the same method "onClick" which is defined in XML.
How can I get the name of the button that triggered onClick method, in what way should I use the view class ?
Thanks in advance for your time.