RxjavaRetrofitDemo-master
RxjavaRetrofitDemo-master copied to clipboard
Retrofit+Rxjava+okhttp终极封装(Gson方案)
HttpOnNext回调,有时候为空,应该不是内存不足的问题,不知道什么原因
和好多别的demo不能兼容,我菜的一笔,改不动啊,希望楼总大神能升级下
项目运行不起来
Error:(36, 9) 错误: 找不到符号 符号: 方法 setMothed(String) 位置: 类 SubjectPostApi Error:(27, 9) 错误: 找不到符号 符号: 方法 setMothed(String) 位置: 类 UploadApi
框架配合MVP
我发现如果业务复杂了,用作者的框架会不是很好,试着结合MVP框架,发现不太好改,作者有打算把该框架改成MVP结构,或者有什么建议么?
建议提交到中央仓库方便使用
报错了
Process: com.example.retrofit, PID: 25643 java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread. at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: java.lang.NoClassDefFoundError:...
难道是我错了?
不同的接口,是不是都得继承BaseApi单独写个啊~然后才是请求三部曲
Thanks for sharing the author found a problem when I tried it, and find the reasonAnd you said hereGreendao database problem into the first data no problem to insert the...