<Lazy layout not showing scroll to top button desp...
# stackoverflow
r
Lazy layout not showing scroll to top button despite being told to do so For some reason, my 'scroll to top' button doesn't appear on screen in front of my LazyColumn, I was expecting to see it at the bottom center of the page. Have I declared the button in the wrong place of my code? @Composable fun ReusableLazyColumn( header: @Composable () -> Unit, lazyColumnItems: Array, lazyColumnItemLayout: @Composable Any.(item: T) -> Unit, onClickLazyColumnItem: (T) -> Unit ) { val listState = rememberLazyListState() LazyColumn( state =...