Bounce

constructor(@FloatRange(from = 0.0, fromInclusive = false, to = 1.0) lower: Float, @FloatRange(from = 1.0) upper: Float)

Parameters

lower

The factor applied to the minimum scale of 1.0. Must be greater than 0.0 and at most 1.0. A value of 1.0 disables bouncing while shrinking.

upper

The factor applied to ZoomState.maxScale. Must be at least 1.0. A value of 1.0 disables bouncing while enlarging.