Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- switch (view.getId()) {
- case R.id.button:
- popToast("You Clicked On The From XML Button");
- break;
- case R.id.button2:
- popToast("You Clicked On The From Code Button");
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement