manageChildren

open fun manageChildren(viewTag: Int, @Nullable moveFrom: ReadableArray, @Nullable moveTo: ReadableArray, @Nullable addChildTags: ReadableArray, @Nullable addAtIndices: ReadableArray, @Nullable removeFrom: ReadableArray)

Invoked when there is a mutation in a node tree.

Parameters

tag

react tag of the node we want to manage

indicesToRemove

ordered (asc) list of indices at which view should be removed

viewsToAdd

ordered (asc based on mIndex property) list of tag-index pairs that represent a view which should be added at the specified index

tagsToDelete

list of tags corresponding to views that should be removed