zhanghai / MaterialProgressBar

Material Design ProgressBar with consistent appearance
Apache License 2.0
2.21k stars 279 forks source link

App crashing without any error log when switching from Indeterminate to Determinate #76

Closed pratickRoy closed 6 years ago

pratickRoy commented 6 years ago

If the ProgressBar is set to Indeterminate and then set to Determinate, the app is crashing. No error logs are showing. However when changing from Determinate to Indeterminate, it is working as expected.

zhanghai commented 6 years ago

app:mpb_setBothDrawables: Whether both determinate and indeterminate drawables should be set on this progress bar. Defaults to false (for performance). Should be set to true if you want to use both of the backported determinate and indeterminate drawables.