The child items are not removed properly when the items are cleared from the TreeNavigator and new items are added. As the parent item is cleared, the option to navigate to the parent is also not present.
1. Run the sample and click button2 to load items in TreeNavigator.
2. Click ItemMenu1 to navigate into the child items
3. Now click button3 to clear existing items add new items.