Function

consumePositionChange

Consume position change if there is any

consumePositionChange

Source set: Common
@Deprecated(
    "Partial consumption has been deprecated. Use consume() instead.",
    replaceWith = ReplaceWith("if (positionChange() != Offset.Zero) consume()"),
)
public fun PointerInputChange.consumePositionChange()

Consume position change if there is any

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: