Stefan Oltmann09/16/2021, 2:23 PM
so that the element is centered.
as arguments. Per default it scrolls the list so that the item is the first one. If a positive
is given it scrolls further, making the item go off scren. So I tried to give a negative
and calculate what I need so that the element is in center position. The problem is: Negative Offsets are not allowed. 😞 How can I scroll to an index that it's at the center of the list?
John Nichol09/16/2021, 4:21 PM
Stefan Oltmann09/17/2021, 6:21 AM
function and it works out-of-the-box. I wish I had the same with Jetpack Compose.