Practical usage of ContentLoadingProgressBar

后端 未结 4 1512
死守一世寂寞
死守一世寂寞 2021-02-01 01:34

I was going through developer site of android and I found a class named ContentLoadingProgressBar. By seeing this class I come up with some questions in my mind

4条回答
  •  梦毁少年i
    2021-02-01 01:50

    Here are my answers!

    What is the difference between Normal ProgressBar and ContentLoadingProgressbar?

    ContentLoadingProgressbar waits a minimum time to be dismissed before showing using hide() like with-in 0.5 seconds.So even the show() gets called this can be dismissed before it appear on the screen.

    What is the practical usage of ContentLoadingProgressBar

    It prevents very fast flickering stuff that you might see with "naive" implementations.

    Can we show/hide this progressbar according to our requirement

    Yes

    How can I custom style this progressBar

    
    

    replace style with android:theme https://stackoverflow.com/a/38282149/5188159

提交回复
热议问题