-
-
Save codeforfun-jp/3d77ff789c2402c9d3a612a00dd8e7f5 to your computer and use it in GitHub Desktop.
QuizApp 4.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_result); | |
TextView resultLabel = findViewById(R.id.resultLabel); | |
int score = getIntent().getIntExtra("RIGHT_ANSWER_COUNT", 0); | |
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