Skip to content

Instantly share code, notes, and snippets.

@snadjafi
Created November 25, 2013 20:42
Show Gist options
  • Select an option

  • Save snadjafi/7648527 to your computer and use it in GitHub Desktop.

Select an option

Save snadjafi/7648527 to your computer and use it in GitHub Desktop.
public void replaceProductNotFoundFragment(long id) {
ProductNotFoundFragment frag = ProductNotFoundFragment.newImpl(id);
getSupportFragmentManager().beginTransaction()
.replace(R.id.content_frame, frag, "IMAGE_FRAG")
.commit();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment