It's possible to set the visibility of the indeterminate progress bar with :
setSupportProgressBarIndeterminateVisibility(true / false);
But how do you check the visibility of the progress bar? A kind of "getSupportProgressBarIndeterminateVisibility()" ?
Thanks.
As far as i know, something like "getSupportProgressBarIndeterminateVisibility()" doesn't exist as of now. so,
you could possibly use a flag to achieve the objective.
for example: