DalGunBam / tree-view-list-android

Automatically exported from code.google.com/p/tree-view-list-android
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Rebuilding tree exception #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build a tree
2. Call treebuilder.clear();
3. Try to build another tree, you will get an exception

What version of the product are you using? On what operating system?
last version

Please provide any additional information below.

Adding this two lines to the clear() method of the TreeBuilder will fix the 
problem:

        lastAddedId = null;
        lastLevel = -1;

Original issue reported on code.google.com by csel...@gmail.com on 25 May 2013 at 9:02

GoogleCodeExporter commented 9 years ago
It's fixed now.

Original comment by ja...@potiuk.com on 8 Sep 2013 at 12:37