package Ġcash . z . ecc . android . ui . tab _ layout Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . view pager 2 . adapter . Fragment State Adapter Ċ Ċ class ĠView Pager Adapter ( parent : ĠFragment , Ġcreator : ĠFragment Creator ) Ġ: ĊĠĠĠ ĠFragment State Adapter ( parent ), ĊĠĠĠ ĠFragment Creator Ġby Ġcreator Ċ Ċ interface ĠFragment Creator Ġ{ ĊĠĠĠ Ġfun Ġcreate Fragment ( position : ĠInt ): ĠFragment ĊĠĠĠ Ġfun ĠgetItem Count (): ĠInt Ċ } Ċ