Last active
January 31, 2017 18:01
-
-
Save ifucolo/f4f3517acabeecf9e0a41baa0599c26b 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
public interface OnClickListener { | |
void onClick(View v); | |
} | |
public interface OnLongClickListener { | |
void onLongClick(View v); | |
} | |
public interface OnTouchListener { | |
void onTouch(View v, MotionEvent event); | |
} | |
valid.setOnClickListener(new OnClickListener() { | |
@Override | |
public void onClick(View view) { | |
// TODO: | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment