package Ġcn . hao hao . db book . domain . inter actor Ċ Ċ import Ġcn . hao hao . db book . data . datasource . Book DataSource Ċ import Ġcn . hao hao . db book . data . entity . http . Book Reviews ListResponse Ċ import Ġcn . hao hao . db book . domain . entity . Request Detail Params Ċ import Ġcn . hao hao . db book . domain . executor . Post Execution Thread Ċ import Ġcn . hao hao . db book . domain . executor . Thread Executor Ċ import Ġretrofit 2 . Response Ċ import Ġrx . Observable Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠH ao hao Ch ang Ġon Ġ 2 0 1 7 / 6 / 9 . Ċ Ġ*/ Ċ class ĠGet Book Detail Interactor ( val Ġbook DataSource : ĠBook DataSource , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthread Executor : ĠThread Executor , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġpost Execution Thread : ĠPost Execution Thread ) Ġ: ĊĠĠĠĠĠĠĠ ĠInter actor < Response < Book Reviews ListResponse >, ĠRequest Detail Params >( thread Executor , Ġpost Execution Thread ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġbuild Observable ( params : ĠRequest Detail Params ): ĠObservable < Response < Book Reviews ListResponse >> Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbook DataSource . request Book Detail ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġparams . book Id , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġparams . start , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġparams . count , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġparams . fields ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) Ċ }