[ProgressIndicator] Add behavior for show delay like ContentLoadingProgressBar
See original GitHub issueIs your feature request related to a problem? Please describe. ContentLoadingProgressBar implements a delayed show mechanism. It seems like a common practice to wait ~500ms before showing a loading indicator and in most cases it does not need to be shown at all if the request completes quickly enough.
Describe the solution you’d like
ProgressIndicator should implement a customizable showDelay
to allow the view to become visible only if hide
has not been called within the interval.
In addition to the above request, it may also make sense to allow customization of how the progress bar is hidden (invisible vs gone).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:7 (6 by maintainers)
Top Results From Across the Web
ContentLoadingProgressBar behviour on custom animation ...
My problem is that I would like my Lottie -imported animation to behave the same as ContentLoadingProgressBar . That is to show at...
Read more >Progress indicators – Material Design 3
Progress indicators inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates.
Read more >One Off the Slack: Delaying a Progress Indicator
You pretty much have two options here: 1) Achieve that delay via animation delay, 2) manage the delayed state change outside of animation, ......
Read more >ProgressBar - Android Developers
Use determinate mode for the progress bar when you want to show that a specific quantity ... android:scrollbarDefaultDelayBeforeFade, Defines the delay in ...
Read more >ContentLoadingProgressBar - Android SDK
ContentLoadingProgressBar implements a ProgressBar that waits a minimum time to be dismissed ... Show the progress view after waiting for a minimum delay....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you have time to work on this, go on 😉 I will follow your commits when you are done
@matpag I think it would be great if it was customizable since the min show time is already customizable. We usually end up having to copy
ContentLoadingProgressBar
and modify it to suit our needs, ideally you wouldn’t need to do that with theProgressIndicator
if it is flexible enough.