开发者

Does progress bar slows down application?

开发者 https://www.devze.com 2023-03-04 15:43 出处:网络
When I have a progress bar, it takes much longer for my application to start in comparison to starting up without a pr开发者_C百科ogress bar. Is it possible or maybe it is just a vision effect?I suppo

When I have a progress bar, it takes much longer for my application to start in comparison to starting up without a pr开发者_C百科ogress bar. Is it possible or maybe it is just a vision effect?


I suppose (and also noticed) that the creation and modification of a progress bar takes some time. The time overhead is less important on long running operations but it is noticeable on short operations (few seconds).

I however prefer waiting 5 seconds with progress bar instead of 3 seconds without (and just the feeling that nothing happens or system hangs).


No progress bar does not effects your pressing even it is used for the long running operations if your progress bar is taking more time then you need to look at logCAT in ddms perspective to identify real problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消