Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

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