retrofit
retrofit copied to clipboard
A type-safe HTTP client for Android and the JVM
What kind of issue is this? - [ ] Feature Request. For someone looking at the Website there is no way to know that retrofit supports kotlins `suspend` keyword.
[Feature] request Currently retrofit's call is cancelled as soon as RxJava subscription is disposed, i.e. https://github.com/square/retrofit/blob/46dc939a0dfb470b3f52edc88552f6f7ebb49f42/retrofit-adapters/rxjava2/src/main/java/retrofit2/adapter/rxjava2/CallEnqueueObservable.java#L94 Sometimes client doesn't need the result of execution right in place but the result...
Version: 2.6.0-SNAPSHOT Exception: KotlinNullPointerException Message: Response from {path to my suspend fun...} was null but response body type was declared as non-null The current structure of my suspend fun in...
Whenever there is an error like network related errors, we will use the last cached data from the client instead. It works but only when not connected to any network....
java.lang.RuntimeException:Unable to start activity ComponentInfo{com.hundsun.stockwinner.hczq/com.hundsun.winner.application.hsactivity.splash.SplashActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'retrofit2.Converter retrofit2.Converter$Factory.stringConverter(java.lang.reflect.Type, java.lang.annotation.Annotation[], retrofit2.Retrofit)' on a null object reference -- android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303) ...... java.lang.NullPointerException:Attempt to invoke virtual method 'retrofit2.Converter retrofit2.Converter$Factory.stringConverter(java.lang.reflect.Type,...
What kind of issue is this? - [ V] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests get fixed. Here’s...
What kind of issue is this? - [ V] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests get fixed. Here’s...
How can I avoid request parameter names getting encoded when making a form-urlencoded POST request?
Hello all! First of all, RetroFit and RetroFit 2.0 are awesome, I've used them in several Android Apps in the past couple of years with great success, well, those Apps...
Add support of object level logging in order to increase readability for case like binary response we can't log in OkHttp layer. High level changes: Add one interface `ObjectLogger` with...
hi, we are using retrofit 1.9 and we declared our endpoint as ``` @GET("/path") Response get(@QueryMap Map queryParams); ``` which works fine and is expanded to ex. `host/path?rq=1&ra=2` for input...