package Ġcom . team _ no _ yes . mat zip _ exe . http Ċ Ċ import Ġretrofit 2 . Ret rofit Ċ import Ġretrofit 2 . converter . gson . Gson Converter Factory Ċ Ċ class ĠMy Ret rofit Ġ{ ĊĠĠĠ Ġprivate Ġval ĠIP Ġ= Ġ" http :// ec 2 - 1 3 - 2 0 9 - 4 0 - 5 9 . ap - northeast - 2 . compute . amazonaws . com : 8 0 8 0 / user /" ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġretrofit : ĠRet rofit ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġinterface Ret rofit : ĠInterface Ret rofit ĊĊĠĠĠ Ġfun Ġmake Service (): Interface Ret rofit { ĊĠĠĠĠĠĠĠ Ġretrofit Ġ= ĠRet rofit . Builder (). baseUrl ( IP ). add Converter Factory ( Gson Converter Factory . create ()). build () ĊĠĠĠĠĠĠĠ Ġinterface Ret rofit Ġ= Ġretrofit . create ( Interface Ret rofit :: class . java ) ĊĊĠĠĠĠĠĠĠ Ġreturn Ġinterface Ret rofit ĊĠĠĠ Ġ} ĊĊ Ċ }