package Ġcom . ash raf . movie . common . data . remote Ċ Ċ import Ġcom . ash raf . movie . Build Config Ċ import Ġcom . ash raf . movie . discovery . PH OT OS _ PAGE _ SIZE Ċ import Ġcom . ash raf . movie . discovery . details . data . model . Movies Photos Response Ċ import Ġio . reactivex . Single Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠRemote API Ġ{ ĊĠĠĠ Ġ@ GET (" services / rest ") ĊĠĠĠ Ġfun Ġget Movie Photos ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" text ") Ġtitle : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" per _ page ") Ġper Page : ĠInt Ġ= ĠPH OT OS _ PAGE _ SIZE , ĊĠĠĠĠĠĠĠ Ġ@ Query (" method ") Ġmethod : ĠString Ġ= Ġ" flickr . photos . search ", ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") Ġapi KE y : ĠString Ġ= ĠBuild Config . PH OT OS _ API _ KEY , ĊĠĠĠĠĠĠĠ Ġ@ Query (" format ") Ġformat : ĠString Ġ= Ġ" json ", ĊĠĠĠĠĠĠĠ Ġ@ Query (" no json callback ") Ġno json callback : ĠInt = Ġ 1 ĊĠĠĠ Ġ) Ġ: ĠSingle < Movies Photos Response > Ċ }