getPageWidth

open fun getPageWidth(position: Int): Float

Returns the proportional width of a given page as a percentage of the ViewPager's measured width from (0.f-1.f]

Return

Proportional width for the given page position

Parameters

position

The position of the page requested