Property

restartInput

Source set: Android
val restartInput =
            oldValue?.let {
                it.text != newValue.text ||
                    // when selection is the same but composition has changed, need to reset the
                    // input.
                    (it.selection == newValue.selection && it.composition != newValue.composition)
            } ?: false
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: