package com.adealink.weparty.commonui.gesture;

import android.view.GestureDetector;
import android.view.MotionEvent;

import androidx.annotation.Nullable;

/**
 * Google Api Bug
 * https://issuetracker.google.com/issues/243267018?pli=1
 */
public interface SafeOnGestureListener extends GestureDetector.OnGestureListener {

    @Override
    boolean onScroll(@Nullable MotionEvent e1, @Nullable MotionEvent e2, float distanceX, float distanceY);

    @Override
    boolean onFling(@Nullable MotionEvent e1, @Nullable MotionEvent e2, float velocityX, float velocityY);
}