i want to display all content of particular folder which is in external directory into my custom List-view or Recycle-view in android
            Asked
            
        
        
            Active
            
        
            Viewed 548 times
        
    0
            
            
        - 
                    What you have try ? we are not here to do your home work :) – Haresh Chhelana Oct 01 '15 at 05:03
- 
                    i have use recyclerview in my code – Ashish Patel Oct 01 '15 at 05:12
- 
                    Check out this : http://stackoverflow.com/questions/8646984/how-to-list-files-in-an-android-directory – Haresh Chhelana Oct 01 '15 at 05:16
1 Answers
0
            
            
        Below line of code is to retrieve all the files and folder which is in particular path
File f = new File(dirPath);
File[] files = f.listFiles();
 
    
    
        Madhu
        
- 1,780
- 23
- 47
