Skip to content

Instantly share code, notes, and snippets.

@danielwilson1702
Created September 5, 2015 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielwilson1702/0c286e4b2c64cce06a1c to your computer and use it in GitHub Desktop.
Save danielwilson1702/0c286e4b2c64cce06a1c to your computer and use it in GitHub Desktop.
Fragment with custom back implementation
@Override
public void onBackPressed(){
getActivity().getSupportFragmentManager().popBackStack();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment