Android 11 のデベロッパー プレビューが公開されました。ぜひお試しのうえ、フィードバックをお寄せください

BaseGridView.OnTouchInterceptListener

public static interface BaseGridView.OnTouchInterceptListener

androidx.leanback.widget.BaseGridView.OnTouchInterceptListener


Listener for intercepting touch dispatch events.

Summary

Public methods

abstract boolean onInterceptTouchEvent(MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Public methods

onInterceptTouchEvent

public abstract boolean onInterceptTouchEvent (MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Parameters
event MotionEvent

Returns
boolean