daimajia / daimajia/AndroidImageSlider

How to change Image on a slider ?

Open
#339 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

How do I change just the image on a slider?
I've tried `slider.removeSliderAt(0);` and then add new one. But it just adds it at the end of the sliders.
Also tried `slider.removeAllSliders(); `and then add all new ones. But the little dots at the bottom are more than the sliders.
Edit:
Only way I found to do this is to just refresh the activity and load it again.
```
Intent refresh =new Intent(this, MyActivity.class);
startActivity(refresh);
overridePendingTransition(0,0);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.