Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to start activity in adapter android

 button.setOnClickListener(v -> {
	Intent intent = new Intent(v.getContext(), SecondActivity.class);
    v.getContext().startActivity(intent);
 });

//how to start activity in adapter android
 
PREVIOUS NEXT
Tagged: #start #activity #adapter #android
ADD COMMENT
Topic
Name
9+3 =