package Ġcom . ao coin . wallet . utils Ċ Ċ import Ġcom . ao coin . wallet . utils . Constants Ċ Ċ object ĠShared Pref Kt Ġ{ ĊĊĠĠĠ Ġfun ĠgetCurrent Wallet Address (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠShared Pref Util . getString Data ( Constants . SP _ WAL LET _ ADDRESS _ KEY ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun ĠgetCurrent Wallet Local Type (): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠShared Pref Util . getInt ( Constants . SP _ WAL LET _ LOCAL _ TYPE _ KEY ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* Ġ ä¿ĿåŃĺ å½ĵåīį éĴ± åĮħ Ġaddress ĠåĴĮ ĠLocal Type ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġsave Current Wallet Address And Local Type ( address : ĠString , Ġlocal Type : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ ĠShared Pref Util . save Data ( Constants . SP _ WAL LET _ ADDRESS _ KEY , Ġaddress ) ĊĠĠĠĠĠĠĠ ĠShared Pref Util . save Data ( Constants . SP _ WAL LET _ LOCAL _ TYPE _ KEY , Ġlocal Type ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ