ziv kesten
08/16/2021, 12:08 PMziv kesten
08/16/2021, 12:09 PMNthily
08/16/2021, 12:36 PMlistState.animateScrollToItem(lastIndex)
after clicking on the last itemziv kesten
08/16/2021, 12:37 PMNthily
08/16/2021, 1:01 PMziv kesten
08/16/2021, 1:14 PMDesmond Teo
08/16/2021, 2:03 PMRelocationRequester
seems to be more appropriate for scrolling a certain component into view. We can invoke it in the finishedListener
that we can pass to animateContentSize
Ralston Da Silva
08/16/2021, 6:27 PMRalston Da Silva
08/16/2021, 6:31 PMziv kesten
08/17/2021, 10:18 AMkotlin.UninitializedPropertyAccessException: lateinit property coordinates has not been initialized
When tapping for the second time, probably since we remember { RelocationRequester() }
and not some mutable state.
Also it brings the middle of the view to front and some of it is still hidden, perhaps this method should be called on a callback from the AnimatedVisibility, i will further investigate.