Skip to content

custom ByteArrayFetcher not working as expected #1200

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

You must be logged in to vote

Hmm your Fetcher class does look correct. I'd check what error you're getting using listener(onError = {}).

Also Coil 2.0 adds support for ByteBuffers so you could also wrap the array using ByteBuffer.wrap(array) then you don't need the custom Fetcher.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mirjalal
Comment options

Answer selected by mirjalal
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