Open
Description
How do I get all the storage folders and add them to the treeViewAdapter? I've tried all sorts of ways, but I can't.
File root = new File("/storage/emulated/0/");
for (File file : root.listFiles()) {
TreeNode node = new TreeNode(file.getName(), R.layout.layout);
}
The problem is adding the child folders, I don't know how to do this.