Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Button saludoBtn = (Button) findViewById(R.id.saludarBtn);
- saludoBtn.setOnClickListener(this.onClickSaludoHandler());
- private void onClickSaludoHandler() {
- Toast.makeText(MainActivity.this,"Hola",Toast.LENGTH_LONG);
- return null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement