Function

onTouchCancel

Performs action when a touch gesture is cancelled on the element.

onTouchCancel

Source set: JvmAndAndroid
public fun RemoteModifier.onTouchCancel(action: RemoteAction): RemoteModifier

Performs action when a touch gesture is cancelled on the element.

Parameters

action The RemoteAction to perform when the touch is cancelled.

Return

a RemoteModifier that runs action when a touch is cancelled

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: