PhotoViewerTest.Droid.PhotoViewDroidAttacher.SetOnDoubleTapListener C# (CSharp) Method

SetOnDoubleTapListener() public method

public SetOnDoubleTapListener ( Android.Views.GestureDetector newOnDoubleTapListener ) : void
newOnDoubleTapListener Android.Views.GestureDetector
return void
        public void SetOnDoubleTapListener(GestureDetector.IOnDoubleTapListener newOnDoubleTapListener)
        {
            if (newOnDoubleTapListener != null)
                this.mGestureDetector.SetOnDoubleTapListener(newOnDoubleTapListener);
            else
                this.mGestureDetector.SetOnDoubleTapListener(new DefaultOnDoubleTapListener(this));
        }

Usage Example

コード例 #1
0
 public void SetOnDoubleTapListener(Android.Views.GestureDetector.IOnDoubleTapListener newOnDoubleTapListener)
 {
     mAttacher.SetOnDoubleTapListener(newOnDoubleTapListener);
 }