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
how to get the name of the parent node after using view holders. eg
TreeNode myDocuments = new TreeNode(new IconTreeItemHolder.IconTreeItem(R.string.ic_folder, "My Documents")); TreeNode downloads = new TreeNode(new IconTreeItemHolder.IconTreeItem(R.string.ic_folder, "Downloads")); TreeNode file1 = new TreeNode(new IconTreeItemHolder.IconTreeItem(R.string.ic_drive_file, "Folder 1")); TreeNode file2 = new TreeNode(new IconTreeItemHolder.IconTreeItem(R.string.ic_drive_file, "Folder 2")); TreeNode file3 = new TreeNode(new IconTreeItemHolder.IconTreeItem(R.string.ic_drive_file, "Folder 3")); TreeNode file4 = new TreeNode(new IconTreeItemHolder.IconTreeItem(R.string.ic_drive_file, "Folder 4")); fillDownloadsFolder(downloads); downloads.addChildren(file1, file2, file3, file4);
how to get the name of of "downloads" from file4
The text was updated successfully, but these errors were encountered:
MenuTreeItem parentNodeValues = (MenuTreeItem) node.getParent().getValue(); parentNodeValues.getMenuName();
Sorry, something went wrong.
No branches or pull requests
how to get the name of the parent node after using view holders. eg
how to get the name of of "downloads" from file4
The text was updated successfully, but these errors were encountered: