Skip to content

Using AsyncImagePreviewHandler with rememberAsyncImagePainter for Preview not working #2851

Answered by colinrtwhite
MihaMarkic asked this question in Q&A
Discussion options

You must be logged in to vote

@MihaMarkic After investigating, AsyncImagePreviewHandler is working as expected, though it returns the Loading state instead of Success. Returning Loading allows us to return a null Image, however I think it's more important to return Success so I've modified the behaviour here.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@colinrtwhite
Comment options

Answer selected by MihaMarkic
@MihaMarkic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants