Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

OnMotionInterceptListener

interface OnMotionInterceptListener
androidx.leanback.widget.BaseGridView.OnMotionInterceptListener

Listener for intercepting generic motion dispatch events.

Summary

Public methods

abstract Boolean

Returns true if the touch dispatch event should be consumed.

Public methods

onInterceptMotionEvent

abstract fun onInterceptMotionEvent(event: MotionEvent!): Boolean

Returns true if the touch dispatch event should be consumed.