enableAnimateLayoutChanges

fun ViewGroup.enableAnimateLayoutChanges(enable: Boolean?)

Enables or disables Android's default LayoutTransition to a ViewGroup.

The LayoutTransition is enabled when enable is true and disabled when enable is false or null.

The LayoutTransition animates all layout changes automatically. The duration of this animation is based on the R.attr.tt_duration_animation_default_ms value.