use of com.hkm.slider.SliderTypes.BaseSliderView in project UltimateRecyclerView by cymcsg.
the class SliderHeader method setup_double_faces.
protected void setup_double_faces(final SliderLayout mslide) throws Exception {
ArrayList<BaseSliderView> ie = new ArrayList<>();
// mslide.setCustomAnimation(new DescriptionAnimation(250, new DecelerateInterpolator()));
for (int i = 0; i < urls.length; i++) {
TextSliderView textSliderView = new TextSliderView(this);
// initialize a SliderLayout
textSliderView.image(urls[i]).setScaleType(BaseSliderView.ScaleType.Fit).setOnSliderClickListener(this);
//add your extra information
ie.add(textSliderView);
}
mslide.loadSliderList(ie);
}
Aggregations