onPageScrolled

fun ViewPager2.onPageScrolled(onPageSelected: (position: Int) -> Unit = { _ -> })