Android Question Plain text lines to spinner items

Beja

Expert
Licensed User
Longtime User
Hi all,
I have a list of names, each one in its own line. e.g.

San Jose
Burkina Faso
John Johns
And So On
These names are saved in a file called names.txt

I want to carry these lines to a spinner as items without retyping them.
Any specific help in code appreciated.

Thanks in advance
 

Beja

Expert
Licensed User
Longtime User
Thank you Erel,

Perfect...

Have another question but I must put it in its own post.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…