Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
QuizApp 4.1
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