Skip to content

Instantly share code, notes, and snippets.

@veb
Created July 2, 2014 09:31
Show Gist options
  • Save veb/b13f089b469254cdafba to your computer and use it in GitHub Desktop.
Save veb/b13f089b469254cdafba to your computer and use it in GitHub Desktop.
lie detect0r?!
private View.OnTouchListener mGestureListener;
private GestureDetector mGestureDetector;
public CustomViewPager(Context context, AttributeSet attrs) {
super(context, attrs);
mGestureDetector = new GestureDetector(context, new Detector());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment