Google 致力于为黑人社区推动种族平等。查看具体举措

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.