We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3571853 commit 8a71c60Copy full SHA for 8a71c60
library/src/com/handmark/pulltorefresh/library/internal/LoadingLayout.java
@@ -350,7 +350,12 @@ private void setSubHeaderText(CharSequence label) {
350
mSubHeaderText.setVisibility(View.GONE);
351
} else {
352
mSubHeaderText.setText(label);
353
- mSubHeaderText.setVisibility(View.VISIBLE);
+
354
+ // Only set it to Visible if we're GONE, otherwise VISIBLE will
355
+ // be set soon
356
+ if (View.GONE == mSubHeaderText.getVisibility()) {
357
+ mSubHeaderText.setVisibility(View.VISIBLE);
358
+ }
359
}
360
361
0 commit comments