Android-Image-Slider
Android-Image-Slider copied to clipboard
setIndicatorVisibility non-functional
Hi,
I would like to hide the indicator, I have followed the readme and everything is functional, nevertheless if I call this.img_header.setIndicatorVisibility(false) (where img_header is the id of my imageSlider in my layout) in onViewCreated it doesn't seem to do anything: the indicator remains.
I have looked at the source and don't really understand what is going on (haven't really looked hard though).
Your help would be appreciated! All the best,
You can just set the indicator color to transparent.
private SliderView sliderView;
sliderView.setIndicatorSelectedColor(Color.TRANSPARENT);
sliderView.setIndicatorUnselectedColor(Color.TRANSPARENT);