Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Created November 2, 2020 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeforfun-jp/1fd6a837f77dc24472c6fa597c870575 to your computer and use it in GitHub Desktop.
Save codeforfun-jp/1fd6a837f77dc24472c6fa597c870575 to your computer and use it in GitHub Desktop.
QuizApp 4.1
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
countLabel = findViewById(R.id.countLabel);
questionLabel = findViewById(R.id.questionLabel);
answerBtn1 = findViewById(R.id.answerBtn1);
answerBtn2 = findViewById(R.id.answerBtn2);
answerBtn3 = findViewById(R.id.answerBtn3);
answerBtn4 = findViewById(R.id.answerBtn4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment