Hi All, Is it possible to add a header item into a LazyColumnFor. So it appears once at the top of ...
n
Hi All, Is it possible to add a header item into a LazyColumnFor. So it appears once at the top of the List , but also scrolls with the list.
y
Just use a LazyColumn and iterate on your list manually
Wrap each item in a key bloc too
n
Ah ok, I think I see. Not sure what you mean by key bloc?
y
key(item){ }
From what I understand it's used when chaining the same composable in a loop, LazyColumnFor is using it
n
ok Iโ€™ll take a look at it some more , thanks for the quick reply ๐Ÿ‘
n
Nice! thanks for pointing me to these samples. That looks to be the kinda thing I want to do. ๐Ÿ˜€
d
and what about a header which stays fixed and doesnโ€™t scroll?