Join Slack
Powered by
Hi, What's the correct way to save textfield stat...
# compose
s
Sergio C.
02/04/2025, 8:39 AM
Hi, What's the correct way to save textfield state in viewmodel? I've read some articles about a new basictextfield2 but can't find it anywhere
✅ 1
s
Stylianos Gakis
02/04/2025, 12:20 PM
It's renamed to just BasicTextField now
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/BasicTextField.kt;l=179?q=BasicTextField
It's the one that takes in TextFieldState
s
Sergio C.
02/04/2025, 12:23 PM
Ah thanks. I'll check it out
2
Views
Open in Slack
Previous
Next