C Cynikal Member Licensed User Longtime User May 19, 2011 #1 If I have a text file, and its contents go as: 1 2 3 4 5 6 7 8 how can i add each individual to a spinner?
If I have a text file, and its contents go as: 1 2 3 4 5 6 7 8 how can i add each individual to a spinner?
K kickaha Well-Known Member Licensed User Longtime User May 19, 2011 #2 1) Get the contents of the file into a list: B4X: Dim List1 As List List1 = File.ReadList(File.DirDefaultExternal, "1.txt") 2) Add list to spinner: B4X: Spinner.AddAll(List1) Should work a treat. Upvote 0
1) Get the contents of the file into a list: B4X: Dim List1 As List List1 = File.ReadList(File.DirDefaultExternal, "1.txt") 2) Add list to spinner: B4X: Spinner.AddAll(List1) Should work a treat.