-
Notifications
You must be signed in to change notification settings - Fork 22
Creating a Custom Component
Natan Vieira edited this page Dec 24, 2023
·
8 revisions
TBD
.updateOnStateChange(state)
There's a helper function in Components API called watchingStateUpdate
that makes your component automatically update on every state value change.
private final MutableIntState someState = watchingStateUpdate(mutableState(1));