package Ġcom . i ams he kh arg h . json placeholder . network Ċ Ċ import Ġcom . i ams he kh arg h . json placeholder . network . models . res . Album Id Response Ċ import Ġcom . i ams he kh arg h . json placeholder . network . models . res . Album s Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Headers Ċ import Ġretrofit 2 . http . Query Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġ<< -- Ġiam She k har GH Ġ--> > Ċ Ġ* Ġon Ġ 2 2 ĠJuly Ġ 2 0 2 1 , ĠTh ursday Ċ Ġ* Ġat Ġ 1 : 2 6 ĠAM Ċ Ġ*/ Ċ interface ĠApi Interface Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠBASE _ URL Ġ= Ġ" https :// json placeholder . typ icode . com /" ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Headers (" Content - Type : Ġapplication / json ") ĊĠĠĠ Ġ@ GET (" albums /") ĊĠĠĠ Ġsuspend Ġfun Ġget Album s (): ĠAlbum s Response ĊĊĠĠĠ Ġ@ Headers (" Content - Type : Ġapplication / json ") ĊĠĠĠ Ġ@ GET (" photos /") ĊĠĠĠ Ġsuspend Ġfun Ġget Album s Ids (@ Query (" album id ") Ġalbum id : ĠString ): ĠAlbum Id Response ĊĊ Ċ }