package Ġcom . example . news application . repository Ċ Ċ import Ġcom . example . news application . model . News Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Flow able Ċ import Ġio . reactivex . Observable Ċ Ċ interface ĠNews Repository Ġ{ ĊĊĊĊĠĠĠ Ġfun Ġget Top Head lines From Room () Ġ: ĠObservable < List < News >> ĊĊĠĠĠ Ġfun Ġget Top Head lines From Api () Ġ: ĠObservable < List < News >> ĊĊĠĠĠ Ġfun Ġsave News ( list : ĠList < News >) Ġ: ĠComp letable Ċ Ċ }