What steps will reproduce the problem?
1.After invoke TreeBuilder.clear
2.using sequentiallyAddNextNode and so on to build another tree.
3.get NodeNotInTreeException
I trace the code,found the bug,here is the path,
that is ,just reset lastAddedId to null in TreeBuilder.clear().
pl.polidea.treeview.TreeBuilder
public void clear() {
manager.clear();
+ lastAddedId = null;
}
Original issue reported on code.google.com by yunjie....@gmail.com on 7 Sep 2013 at 4:48
Original issue reported on code.google.com by
yunjie....@gmail.com
on 7 Sep 2013 at 4:48