add State
Add one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Parameters
state
The states to add. E.g LV_STATE_PRESSED or LV_STATE_FOCUSED.
Add a state to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Parameters
state
The state to add. E.g LvglState.PRESSED.