@Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();

        // If the PlayerView is set by XML then call the corresponding setter method
        if (controllerRef != -1) {
            try {
                View view = ((View)getParent()).findViewById(this.controllerRef);
                if (view instanceof PlayerDoubleTapListener) {
                    controller((PlayerDoubleTapListener)view);
                }
            } catch (Exception e) {
                e.printStackTrace();
                Log.e("DoubleTapPlayerView","controllerRef is either invalid or not PlayerDoubleTapListener: ${e.message}");
            }
        }
    }
Cancels double tap mode instantly by calling [PlayerDoubleTapListener.onDoubleTapFinished]
app/src/main/java/com/brouken/player/dtpv/DoubleTapPlayerView.java