I want to add a set of strings from a saved file to a listview with check boxes, where some or all can be selected and want to read out then the checked strings and write them in another file.
With this code only 1 line is inserted, with other Add...-methods, too.
How can i count the number of strings (max. 10) in the FileList.lst until the end ?
Regards
B4X:
Dim TR13 As TextReader
TR13.Initialize(File.OpenInput(File.DirInternal,"Filelist.lst"))
MyPlanListView1.AddSingleLine(TR13.ReadLine)
TR13.Close
With this code only 1 line is inserted, with other Add...-methods, too.
How can i count the number of strings (max. 10) in the FileList.lst until the end ?
Regards
Last edited: