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
Post a Comment