Created
May 9, 2013 04:19
-
-
Save codeguru42/5545537 to your computer and use it in GitHub Desktop.
OnTouchListeners
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
albumCover.setOnTouchListener(new OnTouchListener() { | |
public void onTouch(View v, MotionEvent event) { | |
// What happens when an albumCover is touched | |
} | |
}); | |
channelName.setOnTouchListener(new OnTouchListener() { | |
public void onTouch(View v, MotionEvent event) { | |
// What happens when an channelName is touched | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment