ssseasonnn / rxjava2demo Goto Github PK
View Code? Open in Web Editor NEW给初学者的RxJava2.0系列教程的demo
License: Apache License 2.0
给初学者的RxJava2.0系列教程的demo
License: Apache License 2.0
大神之前在教程2 和教程3里的demo 关于retrofit的部分,我一运行就报错啊,
Non-body HTTP method cannot contain @Body.
难道别人没有这个问题吗?
i try to run the RxJava2Demo chapterTwo ,but when i run the method praticle1 ,my progress crush, i try to fix it,but failed, can u tell me how to use body and get? my logcat give me some error message :
java.lang.IllegalArgumentException: Missing either @get URL or @url parameter.
java.lang.IllegalArgumentException: Non-body HTTP method cannot contain @Body.
之前已有类似的issue 但未被解决
`
@GET
Observable<LoginResponse> login(@Body LoginRequest request);
@GET
Observable<RegisterResponse> register(@Body RegisterRequest request);
@GET
Observable<UserBaseInfoResponse> getUserBaseInfo(@Body UserBaseInfoRequest request);
@GET
Observable<UserExtraInfoResponse> getUserExtraInfo(@Body UserExtraInfoRequest request);
`
代码没提交全啊
如果注册失败了,登录的方法还会执行,怎么不执行他呢,而且这个方法里面好像找不到添加Disposable的地方
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.