欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

BaseGridView.OnMotionInterceptListener

public static interface BaseGridView.OnMotionInterceptListener

androidx.leanback.widget.BaseGridView.OnMotionInterceptListener


Listener for intercepting generic motion dispatch events.

Summary

Public methods

abstract boolean onInterceptMotionEvent(MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Public methods

onInterceptMotionEvent

public abstract boolean onInterceptMotionEvent (MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Parameters
event MotionEvent

Returns
boolean