Kebbin
02/24/2022, 4:06 AMtheapache64
02/24/2022, 4:08 AMKebbin
02/24/2022, 4:09 AMKebbin
02/24/2022, 4:09 AMtheapache64
02/24/2022, 4:18 AMLaunchedEffect
like this, right?
val list = remember { mutableStateListOf<String>("A") }
val listState = rememberLazyListState()
LaunchedEffect(list.size) {
listState.animateScrollToItem(list.lastIndex)
}
full code : https://gist.github.com/theapache64/275553a0fa320227693dc4998b13dab0theapache64
02/24/2022, 4:52 AMLazyRow/Column/Grid
, you can modify it something like LaunchedEffect(myText.size)
and fire a scroll to bottom event ?Kebbin
02/24/2022, 5:13 AM