Query about setOnClickListener() and onClick() of android
<p>what is actually done by setOnClickListener() method and onClick() method during click </p>

<p>events.why this two method is needed during click events.</p>

<p>please explain in details.</p>
