我正在使用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...
}