package Ġio . uso am ic . app . extensions Ċ Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Single Ċ import Ġio . reactivex . android . schedul ers . Android Schedulers Ċ import Ġio . uso am ic . commons . cros spl atform . extensions . subscribe On Io Ċ Ċ fun Ġ< T > ĠSingle < T >. observe On Main (): ĠSingle < T > Ġ= Ġobserve On ( Android Schedulers . main Thread ()) Ċ fun ĠComp letable . observe On Main (): ĠComp letable Ġ= Ġobserve On ( Android Schedulers . main Thread ()) Ċ Ċ fun Ġ< T > ĠSingle < T >. add Schedulers (): ĠSingle < T > Ġ= Ġsubscribe On Io (). observe On Main () Ċ Ċ fun ĠComp letable . add Schedulers (): ĠComp letable Ġ= Ġsubscribe On Io (). observe On Main ()