About 12,000,000 results
Open links in new tab
  1. POST Multipart Form Data using Retrofit 2.0 including image

    Jan 2, 2016 · RetroFit 2.0 ( This was a workaround for an issue in RetroFit 2 which is fixed now, for the correct method ...

  2. java - why use Retrofit when we have OkHttp - Stack Overflow

    Aug 27, 2016 · Retrofit vs. OkHttp The reason is simple: OkHttp is a pure HTTP/SPDY client responsible for any low-level network operation, caching, request and response manipulation, …

  3. android - Retrofit 2 - Dynamic URL - Stack Overflow

    Sep 14, 2015 · Dynamic URL with Get and Post method in Retrofit (MVVM) Retrofit Service interface: public interface NetworkAPIServices { @POST() Observable<JsonElement> …

  4. java - Using Retrofit in Android - Stack Overflow

    Using Retrofit is quite simple and straightforward. First of all you need to add retrofit to your project, as example with Gradle build sytem.

  5. Adding header to all request with Retrofit 2 - Stack Overflow

    Sep 16, 2015 · Retrofit 2's documentation says: Headers that need to be added to every request can be specified using an OkHttp interceptor. It can be done easily using the previous version, …

  6. Newest 'retrofit' Questions - Stack Overflow

    I am using Retrofit to fetch data from the Watchmode API. The data of Titles contains a field poster, which contains the url of an image. I am using this function to load this post image: …

  7. android - Why to use Retrofit? - Stack Overflow

    Apr 19, 2017 · Retrofit 2 is great networking library for modern Android apps, but each has its own strengths that is worth weighing for critical projects. Use Retrofit if your use-case is a standard …

  8. Good approach to manually retry requests in Retrofit Android

    If you are using OkHttp as your HttpClient and have updated to Retrofit >= 1.9.0 then you can use the new Interceptor. Specifically, an Application Interceptor will let you retry and make multiple …

  9. Android - Proguard and retrofit 2? - Stack Overflow

    Dec 14, 2016 · Current Proguard rules (as of 12/18) are here. # Retrofit does reflection on generic parameters. InnerClasses is required to use Signature and # EnclosingMethod is required to …

  10. android - Retrofit - @Body parameters cannot be used with form …

    Dec 5, 2014 · This one not works in Retrofit 2 , we should use RequestBody !! – LOG_TAG. Commented Jul 24, 2016 at 19:48.

Refresh