Jetpack Compose: retain editable state across recomposition
Summary Keep the observable holder in the composition, reset it only when the edited record changes, and select saved state or a screen owner by lifetime. Start with remember { mutableStateOf("") }
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread jetpack-compose-remember-editable-state-holder-lifetime and help me try it