Julius Marozas
08/17/2020, 9:49 AMLazyColumnFor
composable?Zach Klippenstein (he/him) [MOD]
08/17/2020, 3:39 PMLazyColumnFor
used the element itself as the key, unless that changed recently.Julius Marozas
08/17/2020, 3:46 PMJulius Marozas
08/17/2020, 3:49 PMLazyFor
composable (since it's private) and use a custom key? Or is there another way?Zach Klippenstein (he/him) [MOD]
08/17/2020, 3:52 PMJulius Marozas
08/17/2020, 3:57 PMLazyColumnFor
when I insert a new item at the beginning of the list. So I was hoping that I could solve this by specifying the key as the id of the item (similarly to how it is usually done in React).Zach Klippenstein (he/him) [MOD]
08/17/2020, 4:04 PMequals
for your element type to only consider ID, or wrap your values in a type that does this.
Either way, I would file a feature request issue to the compose project to ask for this feature (tracked link is in channel topic/description)Zach Klippenstein (he/him) [MOD]
08/17/2020, 4:05 PMJulius Marozas
08/17/2020, 5:01 PM