package Ġcom . robert . android . lost pe ts . domain . inter actors . impl Ċ Ċ import Ġcom . robert . android . lost pe ts . domain . executor . Executor Ċ import Ġcom . robert . android . lost pe ts . domain . executor . MainThread Ċ import Ġcom . robert . android . lost pe ts . domain . inter actors . Save Settings Interactor Ċ import Ġcom . robert . android . lost pe ts . domain . inter actors . base . Abstract Interactor Ċ import Ġcom . robert . android . lost pe ts . domain . repository . Settings Repository Ċ Ċ /** Ċ Ġ* ĠCl ase Ġque Ġext ien de Ġla Ġclase ĠAbstract Interactor Ġe Ġimplement a Ġla Ġinterf az ĠSave Settings Interactor . Ċ Ġ* Ċ Ġ* Ġ@ author ĠRobert ĠE ne Ċ Ġ* Ġ@ see Ġcom . robert . android . lost pe ts . domain . inter actors . base . Abstract Interactor Ċ Ġ* Ġ@ see Ġcom . robert . android . lost pe ts . domain . inter actors . Save Settings Interactor Ċ Ġ*/ Ċ class ĠSave Language Interactor Impl ( ĊĠĠĠ Ġexecutor : ĠExecutor , ĊĠĠĠ Ġmain Thread : ĠMain Thread , ĊĠĠĠ Ġcallback : ĠSave Settings Interactor . Callback , ĊĠĠĠ Ġsettings Repository : ĠSettings Repository , ĊĠĠĠ Ġlanguage : ĠString Ċ ) Ġ: ĊĠĠĠ ĠAbstract Interactor ( executor , Ġmain Thread ), ĠSave Settings Interactor Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġm Callback : ĠSave Settings Interactor . Callback Ġ= Ġcallback ĊĠĠĠ Ġprivate Ġval Ġm Settings Repository : ĠSettings Repository Ġ= Ġsettings Repository ĊĠĠĠ Ġprivate Ġval Ġm Language : ĠString Ġ= Ġlanguage ĊĊĠĠĠ Ġoverride Ġfun Ġrun () Ġ{ ĊĠĠĠĠĠĠĠ Ġm Settings Repository . save Language ( m Language ) ĊĠĠĠĠĠĠĠ Ġm MainThread . post ( Runnable Ġ{ Ġm Callback . on Saved Settings () Ġ}) ĊĠĠĠ Ġ} Ċ } Ċ