Add conveniences for animating collection properties #3
Labels
enhancement
Request for a new feature or improvement to an existing feature
wontfix
This will not be worked on
Currently there isn't a great way to animate a collection of subelements.
For example, say your element has a property containing an array of subviews that should each be animated. If the count is known during construction, you can add each one by key path, but you lose the compiler safety by using indices in the key path. The other option here is to use an
AnimationGroup
, which brings back the compiler safety but loses the separation of construction and execution.In order to support building animations of collections for which the number of elements isn't known during construction, we need a new type of content that can be added to the
Animation
.The text was updated successfully, but these errors were encountered: