-
-
Save codeforfun-jp/3a8511252f803604d669fae741986100 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
builder.setPositiveButton("OK", new DialogInterface.OnClickListener() { | |
@Override | |
public void onClick(DialogInterface dialogInterface, int i) { | |
if (quizCount == QUIZ_COUNT) { | |
// 結果画面へ移動 | |
Intent intent = new Intent(MainActivity.this, ResultActivity.class); | |
intent.putExtra("RIGHT_ANSWER_COUNT", rightAnswerCount); | |
startActivity(intent); | |
} else { | |
quizCount++; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment