package Ġio . nova foundation . nova . feature _ staking _ impl . presentation . staking . reward Destination . confirm Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġio . nova foundation . nova . common . base . Base Fragment Ċ import Ġio . nova foundation . nova . common . di . Feature Utils Ċ import Ġio . nova foundation . nova . common . mixin . impl . observe Valid ations Ċ import Ġio . nova foundation . nova . common . utils . apply StatusBar Insets Ċ import Ġio . nova foundation . nova . common . view . set Progress Ċ import Ġio . nova foundation . nova . feature _ account _ api . pres en at ation . actions . setup External Actions Ċ import Ġio . nova foundation . nova . feature _ staking _ api . di . St aking Feature Api Ċ import Ġio . nova foundation . nova . feature _ staking _ impl . R Ċ import Ġio . nova foundation . nova . feature _ staking _ impl . di . St aking Feature Component Ċ import Ġio . nova foundation . nova . feature _ staking _ impl . presentation . staking . reward Destination . confirm . parcel . Confirm Reward Destination Payload Ċ import Ġkotlinx . android . synt hetic . main . fragment _ confirm _ reward _ destination . confirm Reward Destination Confirm Ċ import Ġkotlinx . android . synt hetic . main . fragment _ confirm _ reward _ destination . confirm Reward Destination Container Ċ import Ġkotlinx . android . synt hetic . main . fragment _ confirm _ reward _ destination . confirm Reward Destination Extr insic Information Ċ import Ġkotlinx . android . synt hetic . main . fragment _ confirm _ reward _ destination . confirm Reward Destination Reward Destination Ċ import Ġkotlinx . android . synt hetic . main . fragment _ confirm _ reward _ destination . confirm Reward Destination Toolbar Ċ Ċ private Ġconst Ġval ĠKEY _ PAYLOAD Ġ= Ġ" KEY _ PAYLOAD " Ċ Ċ class ĠConfirm Reward Destination Fragment Ġ: ĠBase Fragment < Confirm Reward Destination ViewModel >() Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġfun Ġget Bundle ( payload : ĠConfirm Reward Destination Payload ) Ġ= ĠBundle (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġput Parcelable ( KEY _ PAYLOAD , Ġpayload ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( ĊĠĠĠĠĠĠĠ Ġinflater : ĠLayoutInflater , ĊĠĠĠĠĠĠĠ Ġcontainer : ĠViewGroup ?, ĊĠĠĠĠĠĠĠ ĠsavedInstanceState : ĠBundle ?, ĊĠĠĠ Ġ): ĠView ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġinflater . inflate ( R . layout . fragment _ confirm _ reward _ destination , Ġcontainer , Ġfalse ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinit Views () Ġ{ ĊĠĠĠĠĠĠĠ Ġconfirm Reward Destination Container . apply StatusBar Insets () ĊĊĠĠĠĠĠĠĠ Ġconfirm Reward Destination Toolbar . set Home Button Listener Ġ{ ĠviewModel . back Clicked () Ġ} ĊĊĠĠĠĠĠĠĠ Ġconfirm Reward Destination Extr insic Information . setOn Account Clicked Listener Ġ{ ĠviewModel . origin Account Clicked () Ġ} ĊĊĠĠĠĠĠĠĠ Ġconfirm Reward Destination Confirm . prepare For Progress ( view Lifecycle Owner ) ĊĠĠĠĠĠĠĠ Ġconfirm Reward Destination Confirm . setOnClickListener Ġ{ ĠviewModel . confirm Clicked () Ġ} ĊĊĠĠĠĠĠĠĠ Ġconfirm Reward Destination Reward Destination . set Pay out Account ClickListener Ġ{ ĠviewModel . pay out Account Clicked () Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinject () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġpayload Ġ= Ġargument < Confirm Reward Destination Payload >( KEY _ PAYLOAD ) ĊĊĠĠĠĠĠĠĠ ĠFeature Utils . get Feature < St aking Feature Component >( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrequire Context (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠSt aking Feature Api :: class . java ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. confirm Reward Destination Factory () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. create ( this , Ġpayload ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. inject ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġsubscribe ( viewModel : ĠConfirm Reward Destination ViewModel ) Ġ{ ĊĠĠĠĠĠĠĠ Ġobserve Valid ations ( viewModel ) ĊĠĠĠĠĠĠĠ Ġsetup External Actions ( viewModel ) ĊĊĠĠĠĠĠĠĠ ĠviewModel . show Next Progress . observe ( confirm Reward Destination Confirm :: set Progress ) ĊĊĠĠĠĠĠĠĠ ĠviewModel . reward Destination Flow . observe ( confirm Reward Destination Reward Destination :: show Reward Destination ) ĊĊĠĠĠĠĠĠĠ ĠviewModel . wallet Ui Flow . observe ( confirm Reward Destination Extr insic Information :: set Wallet ) ĊĠĠĠĠĠĠĠ ĠviewModel . fee Status Flow . observe ( confirm Reward Destination Extr insic Information :: set Fee Status ) ĊĠĠĠĠĠĠĠ ĠviewModel . origin Account Model Flow . observe ( confirm Reward Destination Extr insic Information :: set Account ) ĊĠĠĠ Ġ} Ċ } Ċ