package Ġcom . iv ette val dez . sat urn us . screens . invoices . form . main Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . fragment . app . FragmentManager Ċ import Ġcom . iv ette val dez . sat urn us . screens . invoices . form . details . Invoice Form Details Fragment Ċ import Ġcom . iv ette val dez . sat urn us . screens . invoices . form . payment . Invoice Form Payment Fragment Ċ import Ġcom . step stone . step per . Step Ċ import Ġcom . step stone . step per . adapter . Abstract Fragment Step Adapter Ċ Ċ private Ġconst Ġval ĠIN VOICE _ DETAILS _ FORM _ POSITION Ġ= Ġ 0 Ċ private Ġconst Ġval ĠIN VOICE _ PAYMENT _ FORM _ POSITION Ġ= Ġ 1 Ċ private Ġconst Ġval ĠSTE PS Ġ= Ġ 2 Ċ Ċ class ĠInvoice Form Main Step per Adapter ( ĊĠĠĠ Ġcontext : ĠContext , ĊĠĠĠ Ġfragment Manager : ĠFragment Manager , ĊĠĠĠ Ġprivate Ġval Ġfol io : ĠString ?, ĊĠĠĠ Ġprivate Ġval Ġiss uing R fc : ĠString ? Ċ ) Ġ: ĠAbstract Fragment Step Adapter ( fragment Manager , Ġcontext ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġcreate Step ( position : ĠInt ): ĠStep Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġif Ġ( position Ġ== ĠIN VOICE _ DETAILS _ FORM _ POSITION ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠInvoice Form Details Fragment . newInstance ( folio , Ġiss uing R fc ) ĊĠĠĠĠĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠInvoice Form Payment Fragment . newInstance ( folio ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Count (): ĠInt Ġ= ĠSTE PS Ċ }