Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Initial state for a SwitchAction #93

Open
Gaket opened this issue Mar 2, 2018 · 1 comment
Open

Initial state for a SwitchAction #93

Gaket opened this issue Mar 2, 2018 · 1 comment

Comments

@Gaket
Copy link

Gaket commented Mar 2, 2018

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?

@Nstd
Copy link

Nstd commented Sep 24, 2020

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants