package Ġcom . github . car val do . f imo . api . datasource . repository . service . imdb . service Ċ Ċ import Ġcom . github . car val do . f imo . api . datasource . repository . service . imdb . entity . Movie Detail Ċ import Ġcom . github . car val do . f imo . api . datasource . repository . service . imdb . entity . SearchResult Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠMovie Service Ġ{ ĊĠĠĠ Ġ@ GET (" Search Movie /{ key }/{ name }") ĊĠĠĠ Ġfun Ġsearch (@ Path (" key ") Ġkey : ĠString , Ġ@ Path (" name ") Ġname : ĠString ): ĠCall < SearchResult > ĊĊĠĠĠ Ġ@ GET (" Title /{ key }/{ id }") ĊĠĠĠ Ġfun Ġget Detail (@ Path (" key ") Ġkey : ĠString , Ġ@ Path (" id ") Ġid : ĠString ): ĠCall < Movie Detail > Ċ }