Created
March 17, 2015 01:49
-
-
Save agusbrand/534af10bde6835ab8009 to your computer and use it in GitHub Desktop.
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
final TextView firstTextView = (TextView) findViewById(R.id.textView); | |
final Button firstButton = (Button) findViewById(R.id.firstButton); | |
// ACA escribir View.OnClickListener(){ Y APRETAR CTRL+i | |
firstButton.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
firstTextView.setText("You clicked!"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment