Answers for "if you want to navigate from one activity to another then android provides you which class"

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 "if you want to navigate from one activity to another then android provides you which class"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language