package Ġcom . bl _ lia . kir ak ir atter . domain . inter actor . config Ċ Ċ import Ġcom . bl _ lia . kir ak ir atter . domain . executor . Post Execution Thread Ċ import Ġcom . bl _ lia . kir ak ir atter . domain . executor . Thread Executor Ċ import Ġcom . bl _ lia . kir ak ir atter . domain . inter actor . Single UseCase Ċ import Ġcom . bl _ lia . kir ak ir atter . domain . repository . Config Repository Ċ import Ġio . reactivex . Single Ċ Ċ class ĠSet Simple Mode UseCase ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġconfig Repository : ĠConfig Repository , ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġthread Executor : ĠThread Executor , ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġpost Execution Thread : ĠPost Execution Thread Ċ ) Ġ: ĠSingle UseCase < Boolean >( thread Executor , Ġpost Execution Thread ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġbuild ( params : ĠArray < out ĠAny >): ĠSingle < Boolean > Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġconfig Repository . set Simple Mode ( params [ 0 ] Ġas ĠBoolean ) Ċ }