swtich to another screen android stduio code example
Example: android how to switch between activities
Intent intent = new Intent(getApplicationContext(), ActivityToBeOpened.class);
startActivity(intent);
Intent intent = new Intent(getApplicationContext(), ActivityToBeOpened.class);
startActivity(intent);