Closed shahwaiz90 closed 2 years ago
How at the image ends? Can you explain?
Some thing like this. But without the caption. The indicators should be below the image.
You have to use app:showIndicator="false" and then:
https://github.com/ongakuer/CircleIndicator
Use this and put CircleIndicator2 where you want in xml.
and then pass the indicator id in code: setIndicator(indicator)
https://github.com/ImaginativeShohag/Why-Not-Image-Carousel/blob/master/sample/src/main/res/layout/fragment_sample.xml this is the example xml.
Thanks for your reply. I tried this, but indicators are not visible.
Just move last 2 line code (val customeIndicator
and setIndicator
) before setData
function. This should solve your problem.
Not sure if library is supporting something like this. But in readme instructions there was a sample related to this.