You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call progressiveStart() on progress bar it works fine, but when I call progressiveStop(), the calback method onStop() is being called infinite times. Am I missing something here?
The ActivityThread change the visibility of the decor after onResume() is called, setting it to INVISIBLE, then to VISIBLE. This visibility change will be dispatched through the whole hierarchy, including ProgressBar. When the ProgressBar's onVisibilityChanged(View, int) is called with a visibility = GONE/INVISIBLE, it stops the animation, which will call the SmoothProgressBar.CallBacks#onStop() method.
That is why onStop() will be called just after onStart(). Unfortunately, we set the visibility to GONE in the callback, so the ProgressBar won't be shown :(
Didn't have the time to find a workaround yet. And forgot a bit too TBH.
When I call progressiveStart() on progress bar it works fine, but when I call progressiveStop(), the calback method onStop() is being called infinite times. Am I missing something here?
SmoothProgressBar:
style GPlusProgressBar:
set callbacks:
The text was updated successfully, but these errors were encountered: