Answers for "how to navigate from one activity to another activity in kotlin"

0

how to move from fragment to activity in kotlin

btn.setOnClickListener {
            activity.let {
                val intent = Intent(it, GuardianProfile::class.java)
                startActivity(intent)
            }
        }
Posted by: Guest on May-24-2021
1

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 "how to navigate from one activity to another activity in kotlin"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language