package Ġcom . c zech . mu v ies . network Ċ Ċ import Ġcom . c zech . mu v ies . Build Config Ċ import Ġcom . c zech . mu v ies . LANGUAGE Ċ import Ġcom . c zech . mu v ies . models . Movies Ċ import Ġcom . c zech . mu v ies . models . Tv Shows Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġkotlinx . coroutines . flow . flow Ċ Ċ class ĠMov ies Res pository ( private Ġval Ġapi Service : ĠMov ies ApiService ) Ġ{ ĊĊĠĠĠ Ġfun Ġget InThe aters (): ĠFlow < Movies > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . getIn The aters Movies Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Up coming (): ĠFlow < Movies > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get Up coming Movies Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Pop ular (): ĠFlow < Movies > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get Pop ular Movies Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Top R ated (): ĠFlow < Movies > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get Top R ated Movies Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Trend ing (): ĠFlow < Movies > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get Trend ing Movies Async ( Build Config . API _ KEY )) Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠShows Repository ( private Ġval Ġapi Service : ĠMov ies ApiService ) Ġ{ ĊĊĠĠĠ Ġfun Ġget A iring Today (): ĠFlow < Tv Shows > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get A iring Today TV Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget On Air (): ĠFlow < Tv Shows > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get On Air Tv Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Pop ular (): ĠFlow < Tv Shows > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get Pop ular TV Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Top R ated (): ĠFlow < Tv Shows > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get Top R ated TV Async ( Build Config . API _ KEY , ĠLANGUAGE , Ġ 1 )) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Trend ing (): ĠFlow < Tv Shows > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( api Service . get Trend ing TV Async ( Build Config . API _ KEY )) Ġ} ĊĠĠĠ Ġ} Ċ }