package Ġcom . open class rooms . re ale state manager . view state Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . open class rooms . re ale state manager . base . Real StateManager Intent Ċ import Ġcom . open class rooms . re ale state manager . base . Real StateManager Result Ċ import Ġcom . open class rooms . re ale state manager . base . Real StateManager ViewState Ċ import Ġcom . open class rooms . re ale state manager . view . main Activity . Error Source MainActivity Ċ import Ġcom . open class rooms . re ale state manager . utils . Currency Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠMut w ak il - Mo ĠðŁ¤ © Ċ Ġ* ĠAndroid ĠEngineer , Ċ Ġ* ĠBr us se ls Ċ Ġ*/ Ċ Ċ data Ġclass ĠMainActivity ViewState ( ĊĠĠĠĠĠĠĠ Ġval ĠisOpen Add Property : Boolean Ġ= Ġfalse , ĊĠĠĠĠĠĠĠ Ġval Ġerror Source : ĠError Source MainActivity ? Ġ= Ġnull , ĊĠĠĠĠĠĠĠ Ġval ĠisLoading : ĠBoolean Ġ= Ġfalse , ĊĠĠĠĠĠĠĠ Ġval Ġcurrency : ĠCurrency Ġ= ĠCurrency . EU RO , ĊĠĠĠĠĠĠĠ Ġval Ġproperty Added : ĠInt ? Ġ= Ġnull Ċ ) Ġ: ĠReal StateManager ViewState Ċ Ċ sealed Ġclass ĠMainActivity Result Ġ: ĠReal StateManager Result Ġ{ ĊĠĠĠ Ġobject ĠOpen Add Property Result : ĠMainActivity Result () ĊĠĠĠ Ġdata Ġclass ĠChange Currency Result ( val Ġcurrency : ĠCurrency ) Ġ: ĠMainActivity Result () ĊĠĠĠ Ġdata Ġclass ĠUpdate Data From Network ( val Ġerror Source : ĠError Source MainActivity ?, Ġval Ġnumber Property Added : ĠInt ?) Ġ: ĠMainActivity Result () Ċ } Ċ Ċ sealed Ġclass ĠMainActivity Intent Ġ: ĠReal StateManager Intent Ġ{ ĊĠĠĠ Ġobject ĠOpen Add Property Activity Intent Ġ: ĠMainActivity Intent () ĊĠĠĠ Ġobject ĠChange Currency Intent Ġ: ĠMainActivity Intent () ĊĠĠĠ Ġobject ĠGetCurrent Currency Intent Ġ: ĠMainActivity Intent () ĊĠĠĠ Ġdata Ġclass ĠUpdate Property From Network ( val Ġcontext : ĠContext ) Ġ: ĠMainActivity Intent () Ċ } ĊĊ