android setonclicklistener
Button play,pause,stop;
play=findViewById(R.id.btnplay);
pause=findViewById(R.id.btnPause);
stop=findViewById(R.id.btnStop);
play.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
}
});
stop.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
}
});
pause.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
}
});