Answers for "android navigate to another activity"

0

navigate to another activity in android

OnClickListener onClickListener = new OnClickListener() {
    @Override
    public void onClick(View v) {
        startActivity(new Intent(action));
    }
};

Button button = (Button) findViewById(id);
button.setOnClickListener(onClickListener);
Posted by: Guest on July-13-2020

Code answers related to "android navigate to another activity"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language