Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0

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