android - ActionBarSherlock, how to get support progress bar indeterminate visibility? -


it's possible set visibility of indeterminate progress bar :

setsupportprogressbarindeterminatevisibility(true / false); 

but how check visibility of progress bar? kind of "getsupportprogressbarindeterminatevisibility()" ?

thanks.

as far know, "getsupportprogressbarindeterminatevisibility()" doesn't exist of now. so,

you possibly use flag achieve objective.

for example:

boolean isprogressbarvisible = false; ...    //some code setsupportprogressbarindeterminatevisibility(true); isprogressbarvisible = true;  //and when set visibility false, setsupportprogressbarindeterminatevisibility(false); isprogressbarvisible = false;  //and in code u need perform check,  if(isprogressbarvisible){       //do stuff }  

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -