Good Evening and Happy Easter,
I'm working on a p2m client, and I made a class to represent particular downloaded files. After having the necessary data given by user, I want to show the info about added file in a table. I made such table, where 1 file = 1 row. Apart of file name, file size, output folder, there are some data which should change dynamically - amount of currently downloaded kBs, progress bar indicating how many percents of the file size were currently downloaded, file state (downloading, preparing, paused, error). I don't know what is the best way to do it. Should I refresh program state every x seconds? How?
Bookmarks