package Ġcom . me dis ana . tender . ui . base Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . fragment . app . FragmentManager Ċ import Ġandroidx . fragment . app . Fragment Pager Adapter Ċ Ċ class ĠBase Fragment Adapter ( ĊĠĠĠ Ġval Ġfragment Manager : ĠFragment Manager , ĊĠĠĠ Ġval Ġfragments : ĠList < Fragment >, ĊĠĠĠ Ġval Ġtitles : ĠList < String >? Ġ= Ġnull Ċ ) Ġ: ĠFragment Pager Adapter ( fragment Manager , BE HAV IOR _ RE SU ME _ ONLY _ CURRENT _ FRAGMENT ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠgetItem ( position : ĠInt ): ĠFragment Ġ= Ġfragments [ position ] ĊĠĠĠ Ġoverride Ġfun Ġget Count (): ĠInt Ġ= Ġfragments . size ĊĠĠĠ Ġoverride Ġfun Ġget Page Title ( position : ĠInt ): ĠCharSequence ? Ġ= Ġtitles ?. get ( position ) Ġ?: Ġ"" Ċ }