79733244

Date: 2025-08-12 13:30:46
Score: 2
Natty:
Report link

If you are using fragments, you can switch back to the previous one by adding the transaction to the back stack:

FragmentTransaction ft = getSupportFragmentManager().beginTransaction();

ft.replace(R.id.container, newFragment);

ft.addToBackStack(null);

ft.commit();

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zümra Arslanhan