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

New method goToSlide() #166

Closed
heinrichreimer opened this issue Jan 18, 2017 · 1 comment
Closed

New method goToSlide() #166

heinrichreimer opened this issue Jan 18, 2017 · 1 comment

Comments

@heinrichreimer
Copy link
Owner

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) {
    //...
}
@AkshayChordiya
Copy link

I guess this method would be a lot better. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants