Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

onclicklistener in android studio

 Name.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(MainActivity.this,FileName.class));
            }
        });
 
PREVIOUS NEXT
Tagged: #onclicklistener #android #studio
ADD COMMENT
Topic
Name
1+9 =