package Ġid . yan uar . m oo vis . data . remote . service Ċ Ċ import Ġandroid . arch . lifecycle . LiveData Ċ import Ġid . yan uar . m oo vis . data . local . entity . Movie Details Ċ import Ġid . yan uar . m oo vis . data . remote . response . ApiResponse Ċ import Ġid . yan uar . m oo vis . data . remote . response . Movie ListResponse Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠY an uar ĠAr if in Ċ Ġ* Ġh alo @ yan uar . id Ċ Ġ*/ Ċ Ċ interface ĠMovie ApiService Ġ{ ĊĠĠĠ Ġ@ GET (" movie /{ group }") ĊĠĠĠ Ġfun Ġget Movies (@ Path (" group ") Ġgroup : ĠString , Ġ@ Query (" language ") Ġlanguage : ĠString ?, ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" region ") Ġregion : ĠString ?, Ġ@ Query (" page ") Ġpage : ĠInt ): ĠLive Data < ApiResponse < Movie ListResponse >> ĊĊĠĠĠ Ġ@ GET (" movie /{ id }") ĊĠĠĠ Ġfun Ġget Movie (@ Path (" id ") Ġid : ĠInt , Ġ@ Query (" append _ to _ response ") Ġappend To Response : ĠString ): ĠLive Data < ApiResponse < Movie Details >> Ċ }