package Ġcom . air bnb . lott ie . samples Ċ Ċ import Ġcom . air bnb . lott ie . samples . model . Animation Response Ċ import Ġio . reactivex . Observable Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠL ot tie files Service Ġ{ ĊĠĠĠ Ġ@ GET (" recent ") ĊĠĠĠ Ġfun Ġget Recent (@ Query (" page ") Ġpage : ĠInt ): ĠObservable < Animation Response > ĊĊĠĠĠ Ġ@ GET (" popular ") ĊĠĠĠ Ġfun Ġget Pop ular (@ Query (" page ") Ġpage : ĠInt ): ĠObservable < Animation Response > ĊĊĠĠĠ Ġ@ GET (" collections /{ collection }") ĊĠĠĠ Ġfun Ġget Collection (@ Path (" collection ") Ġcollection : ĠString ): ĠObservable < Animation Response > ĊĊĠĠĠ Ġ@ GET (" search /{ query }") ĊĠĠĠ Ġfun Ġsearch (@ Path (" query ") Ġquery : ĠString ): ĠObservable < Animation Response > Ċ }