We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
已解决 先new一个新的Node集合 然后把node对象放进新的Node集合 然后adapter.addData(index,newArr)
List<Node> newArray = new ArrayList<>(); newArray.add(new Node(id, pid, name, bean)); //添加节点并刷新UI mAdapter.addData(position + 1, newArray);
删除同理 先获取当前的Node对象,然后用removeData(node)
Node currentNode = TreeHelper.filterVisibleNode(adapter.getAllNodes()).get(position); //删除一条指定的数据并刷新UI mAdapter.removeData(currentNode);
Sorry, something went wrong.
为什么我这样加入会错乱呀,可以咨询一下吗
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: