You in the right direction:
Intent intent;
if (etOp == 11) {
intent = new Intent(this, AnotherActivity.class);
}
else {
intent = new Intent(this, ThirdActivity.class);
}
startActivity(intent);
2
solved Using of if else statement
You in the right direction:
Intent intent;
if (etOp == 11) {
intent = new Intent(this, AnotherActivity.class);
}
else {
intent = new Intent(this, ThirdActivity.class);
}
startActivity(intent);
2
solved Using of if else statement