Comments (3)
你好,你是觉得枚举不好用吗?欢迎探讨
from rxeasyhttp.
是啊,降低性能并且增加体积 。感觉这么好的库用枚举还可以优化。
刚才找了两篇文章,一个详细说问题,另一个是主要如何替换,楼主参考一下。
http://blog.csdn.net/young21234/article/details/49962659
http://blog.csdn.net/u013598660/article/details/51105035
from rxeasyhttp.
好的,谢谢你的建议,我会考虑优化的
from rxeasyhttp.
Related Issues (20)
- HeadersInterceptor设置头部的值会覆盖其他拦截器修改后的值
- 此库作者还维护吗? HOT 3
- 服务器返回数据的解析(ApiResultFunc<T>)是一个一直未被解决的槽点 HOT 1
- 使用RxJava合并3个以上的接口,有其中几个接口没有任何返回值,希望得到楼主的回复
- 自定义解析如果不是ApiResult的格式是不是就不能用?这样的
- http is onError HOT 1
- 拦截器不执行
- get请求报400
- 每个请求都会创建新的OkHttpClient
- 请求头不打印
- The mapper function returned a null value
- NullPointerException HOT 1
- 有对rxlifecycle 做支持吗
- targetSdkVersion升级30 bug, Expected Android API level 21+ but was 30
- 【http is onError】 如果请求成功但是返回此信息,注意检查ApiResult,将里面的结构改成符合自己的项目
- Bug真特么多,浪费时间学习 HOT 2
- Caused by: java.lang.IllegalStateException: Base URL required. at retrofit2.Retrofit$Builder.build(Retrofit.java:575) at com.zhouyou.http.request.BaseRequest.build(BaseRequest.java:542) HOT 1
- 加了token拦截器之后, 下载文件拿不到进度了 HOT 1
- 按文档中的方法签名混淆打包后,请求时缓存报错
- 使用默认的ApiResult,服务器返回的code != 0,走的不是 onError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxeasyhttp.