第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

BaseGridView.OnMotionInterceptListener

public static interface BaseGridView.OnMotionInterceptListener

android.support.v17.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

added in version 22.1.0
boolean onInterceptMotionEvent (MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Parameters
event MotionEvent

Returns
boolean