dependencies { //retrofit + gson + rxjava implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.5.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0' } interface ApiService { @GET("getUserData") fun getUserData1(): Call<ResponseBody> } fun main1() { val retrofit = Retrofit.Builder() .baseUrl("http://mockapi.eolinker.com/9IiwI82f58c23411240ed608ceca204b2f185014507cbe3/") .build() val service =...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with or
Contact or, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack