Hey all, I just ran into a weird issue with `LazyC...
# compose
r
Hey all, I just ran into a weird issue with
LazyColumn
and I'm wondering if it's intended behavior. I am observing a
LiveData
as
State
and whenever it gets updated, the UI should update as expected. The weird thing though is that my
LazyColumn
won't update properly unless I use the
key
property in the
items
extension within the
LazyListScope
. Sample code in the thread
all I had to do to fix my problem of showing older items even when the
LiveData
gets updated was to add the
key
property to the
items
call in the code above
the thing is that this isn't very intuitive to understand based on my understanding on how composables work
a
it is a bug which will be fixed in the next release
🙏 5
r
Ah, glad I wasn't going crazy lol. Thank you
p
@Andrey Kulikov Do you have an issue tracker link I can follow?
a
r
this was fixed for me in beta09