package Ġcom . e uro bond . features . location . api Ċ Ċ import Ġcom . e uro bond . app . Network Constant Ċ import Ġcom . e uro bond . base . Base Response Ċ import Ġcom . e uro bond . features . location . model . App Info Input Model Ċ import Ġcom . e uro bond . features . location . model . App Info Response Model Ċ import Ġcom . e uro bond . features . location . model . Meeting Duration Input Params Ċ import Ġcom . e uro bond . features . location . model . Shop Duration Request Ċ import Ġcom . e uro bond . features . location . shop duration api . Shop Duration Api Ċ import Ġio . reactivex . Observable Ċ import Ġretrofit 2 . Ret rofit Ċ import Ġretrofit 2 . adapter . rx java 2 . Rx Java 2 Call Adapter Factory Ċ import Ġretrofit 2 . converter . gson . Gson Converter Factory Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . Field Ċ import Ġretrofit 2 . http . Form Url Encoded Ċ import Ġretrofit 2 . http . POST Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠSa ik at Ġon Ġ 1 7 - Aug - 2 0 . Ċ Ġ*/ Ċ interface ĠLocation Api Ġ{ ĊĊĠĠĠ Ġ@ POST (" App Info / Device In format io ") ĊĠĠĠ Ġfun Ġsubmit App Info (@ Body Ġapp Info : ĠApp Info Input Model ?): ĠObservable < Base Response > ĊĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST (" App Info / GetDevice Information ") ĊĠĠĠ Ġfun Ġget App Info (@ Field (" session _ token ") Ġsession _ token : ĠString , Ġ@ Field (" user _ id ") Ġuser _ id : ĠString ): ĠObservable < App Info Response Model > ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠComp anion Ġobject Ġto Ġcreate Ġthe ĠShop Duration Api ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġcompanion Ġobject ĠFactory Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġcreate (): ĠLocation Api Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġretrofit Ġ= ĠRet rofit . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. client ( Network Constant . setTime Out No Retry ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Call Adapter Factory ( Rx Java 2 Call Adapter Factory . create ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Converter Factory ( Gson Converter Factory . create ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. baseUrl ( Network Constant . BASE _ URL ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġretrofit . create ( Location Api :: class . java ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }