Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Created November 5, 2024 12:02
Show Gist options
  • Save codeforfun-jp/07f8067d3d30ec5aea7b6e9902eb71c4 to your computer and use it in GitHub Desktop.
Save codeforfun-jp/07f8067d3d30ec5aea7b6e9902eb71c4 to your computer and use it in GitHub Desktop.
[Java Quiz ver2] 7-3
@Override
protected void onCreate(Bundle savedInstanceState) {
/* 省略 */
int score = getIntent().getIntExtra("RIGHT_ANSWER_COUNT", 0);
binding.resultLabel.setText(getString(R.string.result_score, score));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment