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

Enable/Disable not working correctly #33

Open
MFlisar opened this issue Oct 11, 2016 · 1 comment
Open

Enable/Disable not working correctly #33

MFlisar opened this issue Oct 11, 2016 · 1 comment

Comments

@MFlisar
Copy link

MFlisar commented Oct 11, 2016

I'm trying to enable and disable the swipe refresh layout like following:

 srl.post(() -> srl.setEnabled(false));

This works 100% reliable, if I use a default swipe refresh layout but fails very often, if I use the WaveSwiperefreshLayout (fails means, the layout is still enabled after calling the function).

Any ideas how to solve that?

The problem is, that you use setEnabled internally as well to temporarily disable the view...

@MFlisar
Copy link
Author

MFlisar commented Oct 11, 2016

Made a pull request for this...

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

1 participant