Skip to content

Instantly share code, notes, and snippets.

@aemxn
Created January 11, 2014 17:42
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 aemxn/8374135 to your computer and use it in GitHub Desktop.
Save aemxn/8374135 to your computer and use it in GitHub Desktop.
Intent i = new Intent(getApplicationContext(),
CategoryDetail.class);
String category_id = ((TextView) view
.findViewById(R.id.category_id)).getText()
.toString();
i.putExtra("category_id", category_id);
startActivity(i);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment