-
Notifications
You must be signed in to change notification settings - Fork 55
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
Run refresh programmatically #3
Comments
I think you can achieve that by setting the pullToRefresh "isShowing" binding var to true on the .onAppear code block Something like this:
|
Thank you for your response. You are right, "isShowing" binding var should be set to true on the .onAppear code block. But it's not enough. You also need to modify
Only after that it works as needed in my case. |
Should @Luur's changes go into a PR to master? Seems to me that this is a rather common use case. |
Hello,
Thank you for great lib.
I would like to have opportunity to run refresh programmatically from
.onAppear { }
block. Could you please prompt me how to achieve it?The text was updated successfully, but these errors were encountered: