You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some kind of binding to have a programmatic ability to refresh content or just set view to refresh state
My use case is for when you refresh in subview but navigate back and navigate again to subview but refresh is no longer show
Task is launched in global ObservableObject to avoid stopping or losing progress since it's refreshing a lot of item
The text was updated successfully, but these errors were encountered:
Hi, You can currently access the underlying binding state via the refreshView argument.
.refresher(refreshView: { bindingState in
// access bindingState here
return DefaultRefreshView(state: bindingState)
}) {
...
}
However it may not be very ergonomic. You will have to mutate the mode and modeAnimated properties of RefresherState.
Let me know if this works for you. If this isn't enough, can you give a code example of what you are trying to accomplish? I'm happy to add support - but I want to make sure we get the API right.
Some kind of binding to have a programmatic ability to refresh content or just set view to refresh state
My use case is for when you refresh in subview but navigate back and navigate again to subview but refresh is no longer show
Task is launched in global ObservableObject to avoid stopping or losing progress since it's refreshing a lot of item
The text was updated successfully, but these errors were encountered: