Created
January 31, 2017 17:54
-
-
Save ifucolo/a131603dc8ea92dadc1618255335466b 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
Button valid = (Button)findViewById(R.id.valid); | |
valid.setOnClickListener(new View.OnClickListener { | |
public void onClick(View v) { | |
// TODO: do some stuff... | |
} | |
public void onLongClick(View v) { | |
// we don't need to it | |
} | |
public void onTouch(View v, MotionEvent event) { | |
// we don't need to it | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment