Package-level declarations

Functions

Link copied to clipboard
actual fun BackHandler(enabled: Boolean, onBack: () -> Unit)
expect fun BackHandler(enabled: Boolean = true, onBack: () -> Unit)

A multiplatform abstraction over a BackHandler that's only implemented on Android and a no-op elsewhere.

actual fun BackHandler(enabled: Boolean, onBack: () -> Unit)
actual fun BackHandler(enabled: Boolean, onBack: () -> Unit)
actual fun BackHandler(enabled: Boolean, onBack: () -> Unit)
actual fun BackHandler(enabled: Boolean, onBack: () -> Unit)