update
open fun update(@Px dx: Int, @Px dy: Int, duration: Int, @Nullable interpolator: Interpolator)(source)
Updates the action with given parameters.
Parameters
dx
Pixels to scroll horizontally
dy
Pixels to scroll vertically
duration
Duration of the animation in milliseconds
interpolator
Interpolator to be used when calculating scroll position in each animation step