이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

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.