public static interface Layout.AnimationCallback
Layout.layout(int, AnimationCallback)
to provide updates on animation progress.Modifier and Type | Method and Description |
---|---|
void |
onAnimationComplete()
Called immediately after the animation is complete, and the entire layout
is in its final state.
|
void |
onLayout(Layout.Layer layer,
double progress)
Called at each step of the animation, for each layer being laid out.
|
void onAnimationComplete()
void onLayout(Layout.Layer layer, double progress)
layer
- the layer being laid out