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

Switch not working #23

Open
deepakrokz opened this issue Nov 28, 2017 · 5 comments
Open

Switch not working #23

deepakrokz opened this issue Nov 28, 2017 · 5 comments

Comments

@deepakrokz
Copy link

Hi @GwonHyeok
I just imported this project into my Android Studio and run the same in Nogut OS, switch button not working can you please check

@meloveself94
Copy link

Same for me, unable to toggle switch between left or right. I've logged setOnSelectedChangeListener method but log is not shown.

@GwonHyeok
Copy link
Owner

@deepakrokz @meloveself94

Sorry because the default value of isClickable is false.
A temporary workaround is to add android: clickable = "true" in your xml

I will update and fix this issue.

@meloveself94
Copy link

Setting clickable to true is working but sometimes the toggle will automatically select the opposite of my selection. Just letting you know. Thanks for your fast reply.

@GwonHyeok
Copy link
Owner

@meloveself94

I released a new version. (0.0.15)
Using the new version of the library will fix the problem.

@meloveself94
Copy link

meloveself94 commented Nov 30, 2017

Thanks it's working now. But is animation working or did i miss out anything?

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