DebugDrawer icon indicating copy to clipboard operation
DebugDrawer copied to clipboard

Initial state for a SwitchAction

Open Gaket opened this issue 7 years ago • 1 comments

How can I set the initial state for a SwitchAction before it was inflated? Only writing down a needed value for a needed key to SharedPrefs? Is it possible to do it dynamically?

Gaket avatar Mar 02 '18 04:03 Gaket

@Gaket You can copy the SwitchAction class and modify the constructor or add a method by yourself.

Nstd avatar Sep 24 '20 07:09 Nstd