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

Bug after fragment restoration #20

Open
MFlisar opened this issue Feb 6, 2016 · 3 comments
Open

Bug after fragment restoration #20

MFlisar opened this issue Feb 6, 2016 · 3 comments

Comments

@MFlisar
Copy link

MFlisar commented Feb 6, 2016

I have another problem. I use the view in a fragment and show the loading circle from code sometimes. This works fine until I rotate the device. Then the circle is not showing if i manually enable the refreshing (although the isRefreshing function returns true). But if I shortly pull down the wave view, then the loading circle is working again and I can enable refreshing from code again without issues.

So basically, after recreating the fragment I can't use the manual refreshing from code until I at least once pulled down the wave view...

@amyu
Copy link
Contributor

amyu commented Feb 6, 2016

Thanks @MFlisar !

Please wait a minute.
I will check it!!!!!
(ノω・)

@amyu
Copy link
Contributor

amyu commented Feb 6, 2016

@MFlisar

Sorry, I have not been able to grasp the situation.
Is it the fact that you use the WaveSwipeRefreshLayout in Fragment?
In order to understand quickly, please source code or sample project! ლ(´ڡ`ლ)

@MFlisar
Copy link
Author

MFlisar commented Jun 20, 2016

I now had time to investigate that... I am able to solve that problem, but I'm not sure if this brings up problems.

If I commend the line 628-630 in WaveSwipeRefreshLayout.java it seems to work.

Do you remember why you ignore setRefreshing if mWaveView.getCurrentCircleCenterY() == 0?

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

2 participants