Skip to content

Instantly share code, notes, and snippets.

@MrCrambo
Created July 16, 2020 19:45
Show Gist options
  • Save MrCrambo/5a8a70e8330fba54f5a5a3ef8e9c4bb5 to your computer and use it in GitHub Desktop.
Save MrCrambo/5a8a70e8330fba54f5a5a3ef8e9c4bb5 to your computer and use it in GitHub Desktop.
case MotionEvent.ACTION_POINTER_UP:
int index = (event.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> MotionEvent.ACTION_POINTER_INDEX_SHIFT;
// ..
// Do something here ..
// ..
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment