notifyTreeChanged method
- T root,
- [int initialCount]
Call this method when the tree has been completly changed.
Implementation
void notifyTreeChanged(T root, [int initialCount]) {
assert(root != null);
_list.clear();
this.root = root;
_count = null;
_offset = 0;
if (initialCount != null) {
assert(initialCount == count);
_count = initialCount;
}
}