J'ai deux boutons dans l'interface et chaque click du bouton a des actions différents à l'autre.
Comment je peux créer deux méthodes de onClick pour chaque bouton ???
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 bouton=((Button)this.findViewById(R.id.Button)); bouton_1=((Button)this.findViewById(R.id.Button1)) bouton_1.setOnClickListener(this); bouton.setOnClickListener(this);
Partager