Answers for "android setonclicklistener"

0

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) {

            }
        });
Posted by: Guest on September-17-2021

Code answers related to "android setonclicklistener"

Browse Popular Code Answers by Language