ActiveIndicatorTransform

A class used to manipulate the NavigationBarItemView's active indicator view when animating between hidden and shown.

By default, this class scales the indicator in the x direction to reveal the default pill shape.

Subclasses can override updateForProgress to manipulate the view in any way appropriate.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun updateForProgress(@FloatRange(from = 0.0, to = 1.0) progress: Float, @FloatRange(from = 0.0, to = 1.0) targetValue: Float, @NonNull indicator: View)
Called whenever the indicator should update its parameters (scale, alpha, etc.) in response to a change in progress.