title: How to manage an event in android programming
body: <p><br>
  I would like to ask you some information about the managing events in android programming.<br>
  In java, when an event occurs, an Event object instance is created and it is passed to the method of the listener class whom implements it; in android I have noticed that all the methods of the listeners class require, as parameter, a View instance, then the first question is the following: when an event occurs, in android, isn't an Event object instance created?<br>
  The second doubt I ran into came reading the following <a href="http://developer.android.com/training/basics/firstapp/starting-activity.html" rel="nofollow">http://developer.android.com/training/basics/firstapp/starting-activity.html</a> , here with the attribute android:onClick I can specify the method I want to be executed when an click event occurs, then the problem is the following: why should I speficy a method? Shouldn't I indicate that class whom implements a listener and has inside that particular method that manages that particular event?</p>