package Ġco . event box . event . view . home Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . fragment . app . FragmentManager Ċ import Ġandroidx . fragment . app . Fragment Pager Adapter Ċ import Ġco . event box . event . view . home . speak ers . Main Event S peak ers Fragment Ċ import Ġco . event box . event . view . home . time Schedule . Time Schedule Fragment Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠFar sh id ĠR oo hi . Ċ Ġ* ĠT ED x Te hr an Ġ| ĠCopyright s Ġ 9 / 1 8 / 2 0 . Ċ Ġ*/ Ċ class ĠHome ViewPager Adapter ( fm : ĠFragment Manager ) Ġ: ĠFragment Pager Adapter ( fm ) Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġfragments Ġ= Ġmutable ListOf ( ĊĠĠĠĠĠĠĠ ĠMain Event S peak ers Fragment (), ĊĠĠĠĠĠĠĠ ĠTime Schedule Fragment (), ĊĠĠĠĠĠĠĠ ĠHome Fragment () ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġoverride Ġfun ĠgetItem ( position : ĠInt ): ĠFragment Ġ= Ġfragments [ position ] ĊĊĠĠĠ Ġoverride Ġfun Ġget Count (): ĠInt Ġ= Ġfragments . size Ċ }