Kata03/17/2022, 1:18 PM
with custom unique keys(UUID) and
I found the following issue: When I scroll through a bigger list(with 150 elements, paging 30) too fast then the app crashes with:
Issue is coming from SubcomposeLayout.kt line
"Key $slotId was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item."
. Now if I scroll though the list really slowly then everything works fine. Once everything is loaded and I scroll through it fast then there is no issue. Anybody has an idea what could be the issue? Is this maybe a bug inside compose? What I found is by adjusting the paging size to something smaller the crash happens earlier and when modifying the paging to something bigger than the list itself then the crash is not happening. I tried is with compose version
and also with
as key it is also not crashing