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 on card change listener for get current card index? #31

Open
leanggithub opened this issue Nov 2, 2020 · 1 comment
Open

Comments

@leanggithub
Copy link

No description provided.

@erizoo
Copy link

erizoo commented Mar 4, 2021

viewPager.registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback() {
override fun onPageSelected(position: Int) {
Log.d("myLogs", "onPageSelected $position")
}
})

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