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

[Image] LoadPainter #321

Merged
merged 17 commits into from
Apr 15, 2021
Merged

[Image] LoadPainter #321

merged 17 commits into from
Apr 15, 2021

Conversation

chrisbanes
Copy link
Contributor

@chrisbanes chrisbanes commented Apr 10, 2021

This refactors the image loading libraries again, this time to a Painter instance, retrieved through rememberLoadPainter(), This allows us to remove our layout composable, and rely solely on Compose Foundation's Image() composable.

Tasks

  • Tests passing
  • Samples updated
  • API names (TBD at the moment)
  • Update ReplaceWiths
  • kdoc on new API
  • Docs

@google-cla google-cla bot added the cla: yes label Apr 10, 2021
Copy link
Collaborator

@andkulikov andkulikov left a comment

Choose a reason for hiding this comment

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

I like the simplicity of the resulting api!

@chrisbanes chrisbanes changed the title [WIP] ImageLoadPainter [WIP] LoadPainter Apr 13, 2021
@chrisbanes chrisbanes changed the title [WIP] LoadPainter LoadPainter Apr 13, 2021
@chrisbanes chrisbanes changed the title LoadPainter [Image] LoadPainter Apr 13, 2021
@chrisbanes chrisbanes merged commit 18c1c3d into main Apr 15, 2021
@chrisbanes chrisbanes deleted the cb/image-painter branch April 15, 2021 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants