AndroidAutoSwitcher
AndroidAutoSwitcher copied to clipboard
How to set delay/interval before going to next item?
I'm just using this library. I like it. But the interval is just too fast. How can I set the time delay or interval between switch?
You should set delay/interval using StrategyBuilder.
I don't know what StrategyBuilder you are using so I take CarouselStrategyBuilder
as an example:
autoSwitchView.setSwitchStrategy(new CarouselStrategyBuilder().setInterval(2000).build());
The method 'setInterval' is to set delay/interval.