Spinner won't list the files in a directory properly

A spinner in my recording app won't list the files in a directory properly.
These are the blocks I'm using.


This is what it's doing when I click the button to open the spinner.

Does anyone know how to make the spinner show the file names?

You should learn more about file scopes.
The path you want to access is supported in legacy scope.

How would I find a file path that is within the App scope?

Try an empty string as directoryName
Dif you store anything in the ASD - application specific directory?
See also Some basics on Android storage system

Taifun

For FileScope = Legacy or Shared the File component uses a relative path (not an absolute or full path).