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

Enhancement - Add support for checking the length of a lazy list #68

Merged

Conversation

EvgenyMeltsaykin
Copy link

@EvgenyMeltsaykin EvgenyMeltsaykin commented Dec 4, 2023

I tried to implement it using compose.foundation, but I couldn’t get access to the variable that is responsible for the length of the list.

If you are interested, itemProviderLambda is created in the package androidx.compose.foundation.lazy in fun LazyList, which contains knowledge about the size of the list. But I couldn't find a way to get this information.

@Vacxe
Copy link
Member

Vacxe commented Dec 5, 2023

Thanks for the contribution. Will take a look asap.

Copy link

@Unlimity Unlimity left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contribution

@Vacxe Vacxe changed the base branch from master to develop January 2, 2024 01:53
@Vacxe Vacxe merged commit adb8456 into KakaoCup:develop Jan 2, 2024
3 of 11 checks passed
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.

3 participants