added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-beta01

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

added in version 1.0.0
public abstract boolean onInterceptMotionEvent (MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Parameters
event MotionEvent

Returns
boolean