package Ġkr . co . domain . api . use case Ċ Ċ import Ġio . reactivex . Observable Ċ import Ġio . reactivex . android . schedul ers . Android Schedulers Ċ import Ġio . reactivex . schedul ers . Schedulers Ċ import Ġkr . co . data . entity . room . Result File Storage Ċ import Ġkr . co . domain . k oin . repository . room . Result File Storage Repository Ċ Ċ class ĠAll Load File Data Base UseCase ( private Ġval Ġresult File Storage Repository : ĠResult File Storage Repository ){ ĊĊĠĠĠ Ġfun Ġall Load (): ĠObservable < List < Result File Storage >> Ġ= ĊĠĠĠĠĠĠĠ Ġresult File Storage Repository . getAll Storage () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. subscribe On ( Schedulers . io ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. observe On ( Android Schedulers . main Thread ()) Ċ }