Prem Suman
01/11/2021, 5:03 AMandroid:animateLayoutChanges
in kotlin code, but couldn’t find any related fields there
So I created an extension property:
var ViewGroup.animateLayoutChanges: Boolean
get() = layoutTransition != null
set(value) {
layoutTransition = if (value) LayoutTransition() else null
}
Is this one okay, or could there be any other alternatives for this?