disable go back for a specific activity android studio code example
Example: android java how to stop users fromgoing back too much
// siyanda zama
@Override
public void onBackPressed() {
moveTaskToBack(true);
}
// siyanda zama
@Override
public void onBackPressed() {
moveTaskToBack(true);
}