getPageTitle

open fun getPageTitle(position: Int): CharSequence

Returns the title of the page at the given position. Used for displaying tab titles.

Return

The title of the page at the given position.

Parameters

position

The position of the page.