package Ġcom . ang git 9 7 . hack er news . data . repository Ċ Ċ import Ġcom . ang git 9 7 . hack er news . data . Comment Ċ import Ġcom . ang git 9 7 . hack er news . data . Top Story Detail Ċ import Ġcom . ang git 9 7 . hack er news . domain . H acker News Repository Ċ import Ġcom . ang git 9 7 . hack er news . network . H acker News Api Ċ import Ġretrofit 2 . Response Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠAng git ĠPr ay ogo Ġon Ġ 5 / 8 / 2 0 . Ċ Ġ*/ Ċ class ĠH acker News Repository Impl Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġapi Service : ĠH acker News Api Ċ ): ĠH acker News Repository Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget Top St ories (): ĠResponse < List < Int >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġapi Service . get Top St ories () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget Story Detail ( story Id : ĠString ): ĠResponse < Top Story Detail > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġapi Service . get Story Detail ( story Id ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget Comment ( comment Id : ĠString ): ĠResponse < Comment > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġapi Service . get Comment ( comment Id ) ĊĠĠĠ Ġ} Ċ }