Skip to content

Commit 2785b1f

Browse files
committed
Merge pull request daimajia#58 from rafaelmeteoro/patch-1
Update BaseSliderView.java
2 parents 6c2f6ae + 8207cec commit 2785b1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/src/main/java/com/daimajia/slider/library/SliderTypes/BaseSliderView.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ public void onError() {
243243
if(mLoadListener != null){
244244
mLoadListener.onEnd(false,me);
245245
}
246+
if(v.findViewById(R.id.loading_bar) != null){
247+
v.findViewById(R.id.loading_bar).setVisibility(View.INVISIBLE);
248+
}
246249
}
247250
});
248251
}

0 commit comments

Comments
 (0)