Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void initialUISetup() {
- cbapel = (CheckBox) findViewById(R.id.cbapel);
- cbbelimbing = (CheckBox) findViewById(R.id.cbbelimbing);
- cbmangga = (CheckBox) findViewById(R.id.cbmangga);
- cbjeruk = (CheckBox) findViewById(R.id.cbjeruk);
- cbtomat = (CheckBox) findViewById(R.id.cbtomat);
- cbwortel = (CheckBox) findViewById(R.id.cbwortel);
- }
- public void onClickButtonListener() {
- btn1 = (Button) findViewById(R.id.btn1);
- btn1.setOnClickListener(
- new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- Intent intent = new Intent("com.example.lenovo_game.coba.Main2Activity");
- startActivity(intent);
- }
- }
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement