Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Created October 24, 2024 05:32
Show Gist options
  • Select an option

  • Save codeforfun-jp/e80bf9fac2526864a10e2fbf4a91a61f to your computer and use it in GitHub Desktop.

Select an option

Save codeforfun-jp/e80bf9fac2526864a10e2fbf4a91a61f to your computer and use it in GitHub Desktop.
[Kotlin Quiz ver2] 4-3
override fun onCreate(savedInstanceState: Bundle?) {
/* 省略 */
binding.answerBtn3.setOnClickListener { checkAnswer(it) }
binding.answerBtn4.setOnClickListener { checkAnswer(it) }
quizData.shuffle()
showNextQuiz()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment