-
-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Description
It would be useful to have a method to go to any slide.
Here's what such a function could look like:
/**
* Tries to go to the given position and will stop when {@code canGoForward()} or {@code canGoBackward()} returns {@code false}.
* @param position The position the pager should go to.
* @return {@code true} if the pager was able to go the complete way to the given position, {@code false} otherwise.
*/
public boolean goToSlide(int position) {
//...
}