package Ġeu . ke vin . accounts . bank selection Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . fragment . app . view Models Ċ import Ġeu . ke vin . accounts . bank selection . Bank Selection Intent .* Ċ import Ġeu . ke vin . accounts . country selection . Country Selection Contract Ċ import Ġeu . ke vin . common . architecture . Base Fragment Ċ import Ġeu . ke vin . common . architecture . interfaces . I View Ċ import Ġeu . ke vin . common . extensions . set Fragment Result Listener Ċ Ċ internal Ġclass ĠBank Selection Fragment Ġ: ĠBase Fragment < Bank Selection State , ĠBank Selection Intent , ĠBank Selection ViewModel >(), ĊĠĠĠ ĠBank Selection View Delegate Ġ{ ĊĊĠĠĠ Ġvar Ġconfiguration : ĠBank Selection Fragment Configuration ? Ġby Ġsaved State () ĊĊĠĠĠ Ġoverride Ġval ĠviewModel : ĠBank Selection ViewModel Ġby Ġview Models Ġ{ ĊĠĠĠĠĠĠĠ ĠBank Selection ViewModel . Factory ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( context : ĠContext ): ĠI View < Bank Selection State > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠBank Selection View ( context ). also Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġit . delegate Ġ= Ġthis ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Attached () Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . int ents . try Send ( Initialize ( configuration !! )) ĊĠĠĠĠĠĠĠ Ġparent FragmentManager . set Fragment Result Listener ( Country Selection Contract , Ġthis ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠviewModel . int ents . try Send ( Handle Country Selected ( it , Ġconfiguration !! )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Back Pressed (): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . int ents . try Send ( Handle Back Clicked ) ĊĠĠĠĠĠĠĠ Ġreturn Ġtrue ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ// ĠBank Selection View Delegate ĊĊĠĠĠ Ġoverride Ġfun Ġon Back Clicked () Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . int ents . try Send ( Handle Back Clicked ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Bank Clicked ( bank Id : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . int ents . try Send ( Handle Bank Selection ( bank Id )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonSelect Country Clicked () Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . int ents . try Send ( Handle Country Selection Click ( configuration !! )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Continue Clicked () Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . int ents . try Send ( Handle Continue Clicked ) ĊĠĠĠ Ġ} Ċ }