Closed ProFive closed 6 years ago
Hi Sir, How to expand all item when show list view ?
private void expandAll(List treeNode) { for (int i = 0; i < treeNode.size(); i++) { TreeNode item = treeNode.get(i); if (!item.isLeaf()) { item.toggle(); expandAll(item.getChildList()); } } }
Hi Sir, How to expand all item when show list view ?