Open KaKi87 opened 4 years ago
I will study this moment. First of all, so that it doesn't cause performance problems.
Alt suggestion, add as a user-changeable setting. I definitely use an old, slow clunker of Android hardware, so I appreciate things being lightweight.
I can assure you people that refresh rate doesn't affect performance. Just try ADM Holo and you'll find out. Besides, isn't there an Android alternative to JS requestAnimationFrame
?
@KaKi87 It just requires polling of parts in order to calculate the current progress (if it's a multipart download). I just haven't studied whether this can adversely affect performance.
ADM is also multipart.
In different apps, different approaches to implementing this :)
Hello, Any news on this ? I would also like to report that multipart download makes speed and ETA indicators behave weirdly, like if each part had its own progress measurement function and would asynchronously display its own values 🤔 Thanks
I think set set refresh rate to 1 sec would be better.
1 sec is still a bit low to feel the download progress when you have FTTH, that's why I suggested 0.5 sec. Although the test option would be to refresh the UI instantly when a progress event is fired.
I'll see if it's possible to change without breaking the ETA and speed calculation.
On the download notification and in the app, the data (progress bar, percentage, speed, etc.) is refreshed every 2 secs.
It is kinda frustrating to not feel real-time refresh, like in ADM for Android or IDM for Windows.
So, I'd like very much to have the UI refreshing every 0.5 sec (500 ms) instead of 2 secs.
Thanks