package Ġnet . g ote v . recycler adapter demo . network . api Ċ Ċ import Ġio . reactivex . Single Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Url Ċ Ċ interface ĠStar W ars API Ġ{ ĊĠĠĠ Ġ@ GET (" people ") ĊĠĠĠ Ġfun Ġget People (): ĠSingle < SW API Pag inated Response < SW API Person >> ĊĊĠĠĠ Ġ@ GET ĊĠĠĠ Ġfun Ġget People From Url (@ Url Ġurl : ĠString ): ĠSingle < SW API Pag inated Response < SW API Person >> Ċ } Ċ