Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set custom slideInterval for each slide? #124

Open
behnawwm opened this issue Dec 8, 2020 · 0 comments
Open

How to set custom slideInterval for each slide? #124

behnawwm opened this issue Dec 8, 2020 · 0 comments

Comments

@behnawwm
Copy link

behnawwm commented Dec 8, 2020

How can i set custom slide time for each slide?

this didnt work:

ImageListener imageListener = new ImageListener() {
            @Override
            public void setImageForPosition(int position, ImageView imageView) {
                Glide.with(getBaseContext()).load(sampleImages[position]).into(imageView);
                if(position==0)
                    carouselView.setSlideInterval(5000);
                else
                    carouselView.setSlideInterval(10000);
            }
        };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant