onPageSelected

open fun onPageSelected(position: Int)(source)

This method will be invoked when a new page becomes selected. Animation is not necessarily complete.

Parameters

position

Position index of the new selected page.