Service methods cannot return void. retrofit
There is difference in Asynchronous in Retrofit 1.9 and 2.0 /* Synchronous in Retrofit 1.9 */ public interface APIService { @POST(“/list”) Repo loadRepo(); } /* Asynchronous in Retrofit 1.9 */ public interface APIService { @POST(“/list”) void loadRepo(Callback<Repo> cb); } But on Retrofit 2.0, it is far more simple since you can declare with only just … Read more