Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getSupportFragmentManager().popBackStack(null,
- FragmentManager.POP_BACK_STACK_INCLUSIVE);
- Intent intent = new Intent(Your_Current_Activity.this,
- Your_Destination_Activity.class);
- intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK
- |Intent.FLAG_ACTIVITY_CLEAR_TOP);
- startActivity(intent);
- Hope this will help you.
Add Comment
Please, Sign In to add comment