Action

constructor(@Px dx: Int, @Px dy: Int)(source)

Parameters

dx

Pixels to scroll horizontally

dy

Pixels to scroll vertically


constructor(@Px dx: Int, @Px dy: Int, duration: Int)(source)

Parameters

dx

Pixels to scroll horizontally

dy

Pixels to scroll vertically

duration

Duration of the animation in milliseconds


constructor(@Px dx: Int, @Px dy: Int, duration: Int, @Nullable interpolator: Interpolator)(source)

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