lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

BaseGridView.OnTouchInterceptListener

public static interface BaseGridView.OnTouchInterceptListener

android.support.v17.leanback.widget.BaseGridView.OnTouchInterceptListener


Listener for intercepting touch dispatch events.

Summary

Public methods

abstract boolean onInterceptTouchEvent(MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Public methods

onInterceptTouchEvent

added in version 22.1.0
boolean onInterceptTouchEvent (MotionEvent event)

Returns true if the touch dispatch event should be consumed.

Parameters
event MotionEvent

Returns
boolean