Skip to content
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

SizeSpec experiment #2287

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

SizeSpec experiment #2287

wants to merge 1 commit into from

Conversation

chris-horner
Copy link
Collaborator

An experiment with one particular approach. Would need more work but should be enough for discussion.

I wondered what a flexible API would look like for more generic deferred requests - not just those for ImageView. I liked the idea of size resolution becoming asynchronous, but the main challenge was when to do it. I ultimately landed on it happening during request creation, as size information is important to consider for caching.

This has a few consequences, (I had to put runBlocking in a few places), but maybe the idea is sound. I dunno. Food for thought at any rate.

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.

1 participant