package Ġhr . h of man . composed news . data . remote Ċ Ċ import Ġhr . h of man . composed news . data . Comp osed News Remote DataSource Ċ import Ġhr . h of man . composed news . domain . model . Head line Ċ import Ġio . reactivex . Single Ċ import Ġio . reactivex . schedul ers . Schedulers Ċ import Ġjavax . inject . Inject Ċ import Ġjavax . inject . Provider Ċ Ċ class ĠHead lines Remote DataSource Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġservice : ĠProvider < News ApiService > Ċ ) Ġ: ĠComp osed News Remote DataSource Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġget Head lines ( country Code : ĠString ): ĠSingle < List < News Api Head line >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġservice . get (). get Top Head lines (). subscribe On ( Schedulers . io ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. map Ġ{ Ġresponse Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġresponse . articles ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }