myusersnamesis
myusersnamesis
@AmrDeveloper I tried it but Iam getting nullPointerException fails to get …getLayoutId() on a null object reference
@AmrDeveloper like this? ```java public TreeNode crawlerStorageFiles(File parentPath) { if (parentPath.isDirectory()) { TreeNode node = new TreeNode(parentPath.getName(), R.layout.layout); If (!parentPath == null){ for (File file : parentPath.listFiles()) { node.addChild(crawlerStorageFiles(file)); }...
@AmrDeveloper Thank you it worked. Another question can I get files located in storage/emulated/0/ as root like if I have: 0 downloads - music.mp3 - image.png - treeview-master android -...