Google 致力于为黑人社区推动种族平等。查看具体举措

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