KakaoCup / Compose

Nice and simple DSL for Espresso Compose UI testing in Kotlin
https://kakaocup.github.io/Compose/
Apache License 2.0
139 stars 13 forks source link

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

Closed EvgenyMeltsaykin closed 8 months ago

EvgenyMeltsaykin commented 9 months ago

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 commented 9 months ago

Thanks for the contribution. Will take a look asap.