Function

indexOfLastPressed

indexOfLastPressed

Source set: Android
public fun PointerButtons.indexOfLastPressed(): Int

indexOfLastPressed

Source set: Common
public fun PointerButtons.indexOfLastPressed(): Int

Returns the index of last button pressed as used in isPressed or -1 if no button is pressed.

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: