-
-
Save codeforfun-jp/cecaa773cb45d6ac55ea7a58acaacfa7 to your computer and use it in GitHub Desktop.
CTB 10-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
public class StartActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_start); | |
} | |
public void startGame(View view) { | |
startActivity(new Intent(getApplicationContext(), MainActivity.class)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment