Comments (3)
@tough1985 http://blog.csdn.net/feelang/article/details/51840022
.compose()再map转化为合适的observable就可以了,不建议还是回调的方式,体现不出rxjava的优势!
from rxjavaretrofitdemo.
是这样,有点毁掉了Rxjava意图的感觉,但是如果你的API比较规范的情况下,能够避免写很多重复的代码,而只关注结果本身
from rxjavaretrofitdemo.
正在学习呢。。。。。
from rxjavaretrofitdemo.
Related Issues (13)
- 学习中,如果有post请求的demo就更好了。 HOT 2
- 注释详细,结构清晰 HOT 1
- 一个页面多个网络请求 对话框展示如何优化呢 HOT 2
- 内存泄漏 HOT 3
- 大佬 求qq
- 网络请求很快的话,进度条闪一下
- 回调可以用抽象方法代替 HOT 1
- 加上okhttp 如何 HOT 6
- 如果嵌套请求? HOT 2
- 我封装返回值如果data不为空的时候没问题,但是data为空的时候直接Gson解析出错了 HOT 4
- Subscriber cannot be resolved to a type HOT 2
- 请问,既然在GsonResponseBodyConverter对请求结果进行了统一处理,那么HttpResultFunc里面是不是就可以不对请求结果进行处理,直接返回所需的Data部分的数据即可?
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 rxjavaretrofitdemo.