Devesh Sanghvi
02/04/2021, 2:25 AMLazyRowForIndexed
for displaying a list of buttons. Now onResume() I would want it to scroll back to position one. I have a state on the list of elements. But since that list does not change, the UI does not reset/ or reload itself. I know there are options like lazyListState.snapToItemIndex
and lazyListState.smoothScrollBy
which are available in the newer versions but I am on alpha07
and I cannot update compose right now due to time constraints. Are there any other options for me to look into achieving this behavior? Is creating a fake state object to force reload the only option? (I prefer scrolling to the start position rather than reloading)