Replies: 1 comment
-
Your best bet is to create a custom fetcher that performs the network request then delegates to the network fetcher. I added a section to the docs about this here. Using a function as a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a URL that requires an OAuth access token that might need a refresh. So the generation of the request can only be done asynchronously. How can I do this, so that I do not have to use my own placeholder but instead the one that AsyncImage already provides? According to the docs, I have to provide the finished URL as a model.
I imagine something like this:
I've tried it, but the code never gets executed - which means it is possible to add this feature :-)
Beta Was this translation helpful? Give feedback.
All reactions