I have used daimajia/AndroidImageSlider library. How can i set Different Duration for Different Images ?? is it possible to set different duration for images ?? For instance if there are two Categories of Images, category A duration will be 15 sec and category B will be 5 sec
for (String name : url_maps.keySet()) {
customSliderView = null;
customSliderView = new CustomSliderView(getApplicationContext());
// initialize a SliderLayout
customSliderView
//.description(name)
.image(url_maps.get(name))
.setScaleType(BaseSliderView.ScaleType.CenterCrop);
//.setOnSliderClickListener(this);
mDemoSlider.addSlider(customSliderView);
}
mDemoSlider.setPresetTransformer(SliderLayout.Transformer.DepthPage);
mDemoSlider.setDuration(MY_DURATION);
mDemoSlider.startAutoCycle(MY_DURATION, MY_DURATION, true);