Skip to content

Instantly share code, notes, and snippets.

@MrCrambo
Created August 8, 2020 05:43
Show Gist options
  • Save MrCrambo/fdeba0427c200434e08fb14ff3a29603 to your computer and use it in GitHub Desktop.
Save MrCrambo/fdeba0427c200434e08fb14ff3a29603 to your computer and use it in GitHub Desktop.
class ScaleGestureListener implements ScaleGestureDetector.OnScaleGestureListener
{
@Override
public boolean onScale(ScaleGestureDetector detector)
{
// do smth with scale
}
@Override
public boolean onScaleBegin(ScaleGestureDetector detector)
{
// do smth when scale begin
}
@Override
public void onScaleEnd(ScaleGestureDetector detector)
{
// do smth when scale end
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment