Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void gotoSecondActivity(View v) {
- Intent intent = new Intent(this, SecondActivity.class);
- intent.putIntegerArrayListExtra("myInt", myVariable);
- startActivity(intent);
- }
- var = getIntent().getIntExtra("myInt", 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement