GestureInclusion
Interface
Android
public interface GestureInclusion
GestureInclusion
provides fine-grained control over which gestures a component should handle,
given the start offset and the layout coordinates of the component.
Functions
public fun ignoreGestureStart(offset: Offset, layoutCoordinates: LayoutCoordinates): Boolean
Determines whether a gesture starting at the given offset will be handled by this component.
Parameters
offset | The offset of the gesture within the component's layout. |
layoutCoordinates | The layout coordinates of the component. |
Returns
true if the gesture should be ignored by this component, false otherwise. |