item | Item to add. |
parentId | The parent id for the item. |
childIndex | The child index in the parent's children list. |
rebuildTree | Whether the tree data should be rebuilt right away. Call <see cref="TreeViewController.RebuildTree()" /> when <c>false</c>. |
Adds an item to the tree.