package Ġcom . example . nik it afe _ ob lig 2 Ċ Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠApi Interface Ġ{ ĊĊĠĠĠ Ġ@ GET (" al pac ap art ies . json ") ĊĠĠĠ Ġfun ĠgetData (): ĠCall < Al p aca Party > ĊĊĠĠĠ Ġ@ GET ("{ base }") ĊĠĠĠ Ġfun ĠgetData District 1 (@ Path (" base ") Ġbase Id : ĠString ): ĠCall < District Data > ĊĊĠĠĠ Ġ/* ĊĠĠĠ Ġ@ GET (" district 2 . json ") ĊĠĠĠ Ġfun ĠgetData District 2 (): ĠCall < District Data > Ċ */ ĊĠĠĠ Ġ//@ GET (" district 3 . xml ") ĊĠĠĠ Ġ// fun ĠgetData District 3 (): ĠCall < District XML Data > Ċ }