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

OnTouchInterceptListener

interface OnTouchInterceptListener
androidx.leanback.widget.BaseGridView.OnTouchInterceptListener

Listener for intercepting touch dispatch events.

Summary

Public methods

abstract Boolean

Returns true if the touch dispatch event should be consumed.

Public methods

onInterceptTouchEvent

abstract fun onInterceptTouchEvent(event: MotionEvent!): Boolean

Returns true if the touch dispatch event should be consumed.