posted 14 years ago
Hi,
Can any one tell ... Single onClick method to handle text and button click in Android
eg:
TextView txt1;
Button b1:
b1.setOnClickListener(this);
txt1.setOnclickListener(this);
public void onClick(View v1) {
/*What to write to diff between the two onclick events*/
}