'animateScrollToPage with slow sliding animation in Accompanist Pager

Is there a way to slow down the sliding interval when auto-scrolling to next page in Accompanist Pager?

In the latest version, support for the same has been removed.

The animationSpec, initialVelocity and skipPages parameters on animateScrollToPage() have been removed. The lazy components handle this automatically.

Currently, the auto scroll to next page moves very quickly.

pager.animateScrollToPage(pageIndex)

Accompanist Pager version used: 0.22.1-rc



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source