Christoph Wiesner
12/09/2022, 12:37 PMLazyColumn
that should be always scrolled to the bottom (chat style list)
I do that with
LaunchedEffect(listState.items) { scrollState....}
problem is that i have a list item that changes it’s size depending on an interaction
this change is not picked up, bc. the items list itself is not altered. don’t want to expose the in-memory state if the item to the list so i could listen to it on list-level.
is there any other way apart from providing a scrollToBottom callback down to the item - that it can call when it’s size changes?Casey Brooks
12/09/2022, 3:32 PMLazyColumn() { }
has a reverseLayout
parameter for exactly this purposemattinger
12/10/2022, 5:48 PMChristoph Wiesner
12/13/2022, 7:36 AM