Function

consumeDownChange

Consume the up or down change of this PointerInputChange if there is an up or down change to consume.

consumeDownChange

Source set: Common
@Deprecated(
    "Partial consumption has been deprecated. Use consume() instead.",
    replaceWith = ReplaceWith("if (pressed != previousPressed) consume()"),
)
public fun PointerInputChange.consumeDownChange()

Consume the up or down change of this PointerInputChange if there is an up or down change to consume.

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: