I am downloading is a text file that is currently 5001 rows long and 24 columns wide. I am loading the file i downloaded into a multi-dimensional array, its takes a while and I wanted to add some type of progressbar.
I tried a few things but I couldnt get it to update the bar unless I put in a break and halted the program
I tried a few things but I couldnt get it to update the bar unless I put in a break and halted the program
B4X:
Sub FillArray
partsList = su.LoadCSV(File.DirDocuments, "Database.txt", TAB)
Dim MyArray (partsList.size,24)As String
Dim Dummy () As String
For i=0 To partsList.Size -2
Dummy = partsList.Get (i)
For j= 0 To 24
MyArray (i,j)= Dummy(j)
Next
Log(i)
Next
End Sub