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

add @Composable AutoSizeBox & AutoSizeImage #334

Merged
merged 44 commits into from Nov 5, 2023

Conversation

qdsfdhvh
Copy link
Owner

@qdsfdhvh qdsfdhvh commented Oct 24, 2023

1

AutoSizeBox will try to get the size via Modifier.Node;

AutoSizeImageAutoSizeBox + Painter;

Use priority: AutoSizeImage -> AutoSizeBox -> rememberImagePainter.

2

Since Modifer.Node update works well, so remove the bad ImageLoader.async(Flow<ImageRequest>);

3

Move SizeResolver from Options to ImageRequest.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 25, 2023

@qdsfdhvh qdsfdhvh added the enhancement New feature or request label Oct 25, 2023
# Conflicts:
#	image-loader/src/androidMain/kotlin/com/seiko/imageloader/component/decoder/SvgDecoder.kt
#	image-loader/src/commonMain/kotlin/com/seiko/imageloader/intercept/Interceptors.kt
#	image-loader/src/commonMain/kotlin/com/seiko/imageloader/option/Options.kt
#	image-loader/src/commonTest/kotlin/com/seiko/imageloader/model/ImageRequestTest.kt
#	image-loader/src/skiaMain/kotlin/com/seiko/imageloader/component/decoder/SvgDecoder.kt
# Conflicts:
#	image-loader/src/commonMain/kotlin/com/seiko/imageloader/model/ImageRequest.kt
@qdsfdhvh qdsfdhvh changed the title refactor size resolver add @Composable AutoSizeBox & AutoSizeImage Nov 5, 2023
@qdsfdhvh qdsfdhvh marked this pull request as ready for review November 5, 2023 09:33
@qdsfdhvh qdsfdhvh merged commit 601c1b8 into master Nov 5, 2023
7 checks passed
@qdsfdhvh qdsfdhvh deleted the feature/refactor_size_resolver branch November 5, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant