Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

How to check the on / off state of the toggle button #49

Open
deepakrana0011 opened this issue Dec 29, 2017 · 2 comments
Open

How to check the on / off state of the toggle button #49

deepakrana0011 opened this issue Dec 29, 2017 · 2 comments

Comments

@deepakrana0011
Copy link

Hello,

I want to know how can I check a toggle button is on or off. Please help me out.

Thank You

@shuBomb
Copy link

shuBomb commented Oct 11, 2022

You have to manage state from your end

toggleBtn.setOnToggleChanged {
            if(it){
                toggleState = true;
            }else{
                toggleState = false;
            }
        }

@AbelGit
Copy link

AbelGit commented Oct 11, 2022 via email

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

No branches or pull requests

3 participants