Function

onTouchDown

Performs action when a touch down event occurs on the element.

onTouchDown

Source set: Android
public fun RemoteModifier.onTouchDown(action: RemoteAction): RemoteModifier

Performs action when a touch down event occurs on the element.

Parameters

action The RemoteAction to perform on touch down.
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: