Skip to content

Instantly share code, notes, and snippets.

@st0326s
Created December 20, 2016 01:30
Show Gist options
  • Save st0326s/bf19ade3d6873d3327a343a410a5e780 to your computer and use it in GitHub Desktop.
Save st0326s/bf19ade3d6873d3327a343a410a5e780 to your computer and use it in GitHub Desktop.
// 渡す値
intent.putExtra("A", a);
intent.putExtra("B", b);
// 値の取得
// データがない場合、第2引数の 0 が返る
Integer request_code = intent.getIntExtra("A", 0);
String ticker = intent.getStringExtra("B");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment