Kshitij Patil
02/17/2021, 1:09 PMscrollState.smoothScrollBy()
(blocking) is deprecated, what are we supposed to replace it with (suspending) ? I didn’t understand the replacement from deprecated message. Who has smoothScrollBy
method apart from Scrollable?matvei
02/17/2021, 1:22 PMsmoothScrollBy
is not an extension function on the ScrollableState, which ScrollState
and LazyListState
implement. You are one import away from this since you need to import this extension function in order for it to workKshitij Patil
02/17/2021, 1:39 PM(scrollState as Scrollable).smoothScrollBy(<value>)
worked for me. Is this right?matvei
02/17/2021, 1:50 PM