getPageTitle

open override fun getPageTitle(position: Int): CharSequence

This method may be called by the ViewPager to obtain a title string to describe the specified page. This method may return null indicating no title for this page. The default implementation returns null.

Return

A title for the requested page

Parameters

position

The position of the title requested