0

i want to display all content of particular folder which is in external directory into my custom List-view or Recycle-view in android

Ashish Patel
  • 59
  • 1
  • 9

1 Answers1

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