title: OnClick listener - one function for all clicks
body: <p>In my layout xml file I have set the android:onClick attribute for a Button element to a function in my activity.  So when I click the button the function is called with a View as its argument.  Are there any information in that View argument that has the id of the button being clicked?  I'm trying to figure out if I have to have one onClick function for every element or if I can use one function and switch depending on the id of the element being clicked.</p>