LayoutAnimationController

@NotThreadSafe
open class LayoutAnimationController

Class responsible for animation layout changes, if a valid layout animation config has been supplied. If not animation is available, layout change is applied immediately instead of performing an animation.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun applyLayoutUpdate(view: View, x: Int, y: Int, width: Int, height: Int)
Update layout of given view, via immediate update or animation depending on the current batch layout animation configuration supplied during initialization.
Link copied to clipboard
open fun deleteView(view: View, listener: LayoutAnimationListener)
Animate a view deletion using the layout animation configuration supplied during initialization.
Link copied to clipboard
open fun initializeFromConfig(@Nullable config: ReadableMap, completionCallback: Callback)
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun shouldAnimateLayout(viewToAnimate: View): Boolean