configure Next Layout Animation
Configure an animation to be used for the native layout changes, and native views creation. The animation will only apply during the current batch operations.
TODO(7728153) : animating view deletion is currently not supported.
Parameters
config
the configuration of the animation for view addition/removal/update.
success
will be called when the animation completes, or when the animation get interrupted. In this case, callback parameter will be false.
error
will be called if there was an error processing the animation