hi
i need to parse a text file (csv) and for every line insert some content in sqlite database the parsing and inserting is not a problem.
my problem is i want to display a progres of the parsing using a ProgressBar
i don't know how many lines the file will have
i tried incrementing the position with 1 unit / line dosen't work the ProgressBar fill's up but the parsing is far from finised.
any ideea how to make this ?