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

Get Every Position #82

Open
Androidvinod opened this issue Mar 2, 2021 · 1 comment
Open

Get Every Position #82

Androidvinod opened this issue Mar 2, 2021 · 1 comment

Comments

@Androidvinod
Copy link

Hello,
How do i get current position from your view pager for every scroll Please Help I am stuck at middle of something.

@MikelAguilar
Copy link

In Kotlin:

yourPager.onPageChangeListener {
this.onPageSelected {
//You will get the current position in the view as Int
}
}

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

2 participants