Я использую MyActivity extends Activity implements OnClickListener{
Это действие ссылается на более чем 10 кнопок и вызывает метод setOnClicklistener(this)
для каждой кнопки.
@Override
public void onClick(View v){
//here I need to get the id of the view that was clicked...
//Depending on the button that was clicked different actions need to be called...
//How do I get the ID of the button that was clicked...
}