-
Notifications
You must be signed in to change notification settings - Fork 638
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
AsyncImagePainter should use rememberCoroutineScope
#2181
Comments
Hello! @ansman @colinrtwhite Will this change fix the issue on |
As long as |
@tamimattafi That is intended behaviour and not a bug. See here and here. This is also explained in the docs here. |
@colinrtwhite Thank you, I already added swing but still getting the error, it seems like some other library is overriding the main dispatcher, will look into it. |
Is your feature request related to a problem? Please describe.
Currently,
AsyncImagePainter
usesDispatchers.Main.immediate
. This normally works fine but during Paparazzi screenshot tests they use a custom dispatcher for composables to synchronize time.Describe the solution you'd like
If possible
AsyncImagePainter
should userememberCoroutineScope
instead.The text was updated successfully, but these errors were encountered: