How to create list of folders which is present in particular folder

How to create list of folders which is present in particular folder

For example :

I have folder which is present in /storage/emulated/0/ my folder/ 4 folder are present in this location

So by using file tool extension I get the path of all folder which are present but I want if 4 folder present then in screen 1 it will show a list of folders with name and if suddenly I added one more folder then It’s automatically show 5 folder in screen 1

Please help me out

Thank you!!!