Skip to content

Conversation

@chris-horner
Copy link
Collaborator

Initially tried integrating with dispatcher but it got hectic. Ended up with essentially a more generic DeferredRequestCreator which I'm not sure I like.

@chris-horner chris-horner requested a review from jrodbx April 13, 2022 11:30
@chris-horner chris-horner marked this pull request as draft April 13, 2022 11:30
}

if (sizeResolver != null) {
picasso.resolveSize(sizeResolver!!, target) { (width, height) ->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deferred size resolution for BitmapTarget

setPlaceholder(target, getPlaceholderDrawable())
}
picasso.defer(target, DeferredRequestCreator(this, target, callback))
picasso.resolveSize(ViewSizeResolver(target), target) { (width, height) ->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adapting for existing fit()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants