group

@JvmStatic
fun group(with: List<AnimationResource>): AnimationResource

Groups multiple AnimationResource objects into a single AnimationResource.

Return

The new AnimationResource representing the grouped animation resources.

Parameters

with

The list of AnimationResource objects to be grouped.

Throws

IllegalStateException

If any resource in with is closed or invalid.

If grouping fails at the native layer.