Android如何用retrofit结合protobuf解析数据

客户要求支持Json和Protobuf两种序列化方式,请问怎么实现,json的我知道,但是protobuf不知道如何实现,网络框架使用的是Retrofit+Rxjava.请问有没有人做过protobuf相关的,给出参考链接也行啊

1

2个回答

0
0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
C#如何用json.net解析数据?
有一个JArray,形式如下:rn["service_id":"MQ==","action_type":"NQ==","content_id":"MzUyOTI4NTEzNjE2NjcyOA==","refer_id":"","main_content":"5arnrnSn5Yas5aSp55qE77yM5ZCD552A5LuL5Liq6L+Y5qyj5Zac6Iul54uC4oCm5YiG5piO5bCx5pivrnrn\n5Liq5bGM5Lid4oCm","follow_content":"","follow_content_clear":"","image_url":"W1siaHR0cDovL3d3My5zaW5haW1nLmNuL3RornrndW1ibmFpbC82ZDI3NDA5Ymp3MWUwY3R3czBrYmpqLmpwZyIsImh0dHA6Ly93dzMuc2luYWltZy5jbi9ibWlkZGxlLzZkMjc0MDliancxZTBjdHdzMGtrnrniamouanBnIiwiaHR0cDovL3d3My5zaW5haW1nLmNuL2xhcmdlLzZkMjc0MDliancxZTBjdHdzMGtiamouanBnIl1d","user_name":"5LiA5LuL5Yyrnrn55aae","user_id":"MTgzMTI4ODk4Nw==","profile_image_url":"aHR0cDovL3RwNC5zaW5haW1nLmNuLzE4MzEyODg5ODcvNTAvNTY0NzYwMTrnrnEwMS8w","created_at":"MTM1NjkzMDYwOQ==","tui_content_id":"MTM1Njg1OTcwMg==","haveread":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyOTI1ODg1ODg4NDU4Nw==","refer_id":"","main_content":"5Lirnrn65LuA5LmI5oiR5Zyo5LiK54+tW+azql0=","follow_content":"I+S8mOmFtrnrn+aLjeWuoiPotoXmuIXov5Hot53nprvnm7Tlh7sj5p2O5a6H5pilIyAj6I6r5paH6JSa\nI+a8lOe7jue7j+WFuOOAiueOq+eRsOmmmeOAi++8jOirnrn\/meS4gOasoe+8jOihqOaDheOAgee7huiK\ngn5b6Iqx5b+DXeWwluWPq+S6huWVin7mkqnkurrkuobllYp+fuS\/mOiOt+S6huWVin5+aHR0cDovrnrn\nL3QuY24vempITXNoUSDvvIjkvJjphbfnvZHlj4vvvJroh7rnsbPlsIrnrn\/lronvvIk=","follow_content_clear":"5LyY6YW35aix5LmQ5Lit5brnrn+D","image_url":"","user_name":"enropoHliqrlips2Ng==","user_id":"MjM0MTAzODYyMQ==","profile_image_url":"aHR0cDovL3RrnrnwMi5zaW5haW1nLmNuLzIzNDEwMzg2MjEvNTAvNTYwOTk5ODg1My8w","created_at":"MTM1NjkyNDM0NQ==","tui_content_id":"MTM1Njg1OTrnrnY4Ng==","haveread":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyNzg0MDY0MzIxNTc4OA==","refer_id":"","main_content":"5Lqrnrny4oCm5L2g6LWe5q275LqG4oCmQOiwouWonCBA5L2V54KF","follow_content":"5L6d6buR546L5qKm5Ly85pu+5YmqWrnrn+aZlV3pnZblk6Xlk6XvvIzok4nlhL\/vvIzkvaDku6zlkovm\nu7TllaZb5Yrnrn+v5oCcXQ==","follow_content_clear":"6LCi5aic","image_url":"","user_name":"5LiA5LuL5Yy55aae","user_id":"MTgzMTI4ODk4rnrnNw==","profile_image_url":"aHR0cDovL3RwNC5zaW5haW1nLmNuLzE4MzEyODg5ODcvNTAvNTY0NzYwMTEwMS8w","created_at":"MTM1NjU4rnrnNjIxNg==","tui_content_id":"MTM1Njg1OTY0MQ==","haveread":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyODE1NzA3ODMxOTQyNg==","refer_id":"","main_content":"5b6rnrnQ5rW35pif55qE5paw5q2M44CK5pif5rW344CL5b6I5LiN6ZSZ5ZGQW+WFlOWtkF1b5ZOI5ZOI\nXVvpvJPmjoxdQOW+kOa1trnrn+aYnw==","follow_content":"","follow_content_clear":"","image_url":"","user_name":"5LiA5LuL5Yy55aae","user_id":"MTgrnrnzMTI4ODk4Nw==","profile_image_url":"aHR0cDovL3RwNC5zaW5haW1nLmNuLzE4MzEyODg5ODcvNTAvNTY0NzYwMTEwMS8w","created_at":rnrn"MTM1NjY2MTY2MA==","tui_content_id":"MTM1Njg1OTY0MA==","haveread":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyODE5NTQ5MDIzMjQ1Ng==","refer_id":"","main_content":"6YCrnrnb552A4oCm4oCmIOaIkeWcqDpodHRwOi8vdC5jbi96allxYjQ4","follow_content":"","follow_content_clear":"","image_url":"W1siarnrnHR0cDovL3d3MS5zaW5haW1nLmNuL3RodW1ibmFpbC82ZmIxMTdiM2p3MWUwOWNybDFraGNqLmpwZyIsImh0dHA6Ly93dzEuc2luYWltZy5jbi9ibWlkrnrnZGxlLzZmYjExN2IzancxZTA5Y3JsMWtoY2ouanBnIiwiaHR0cDovL3d3MS5zaW5haW1nLmNuL2xhcmdlLzZmYjExN2IzancxZTA5Y3JsMWtoY2ouanBrnrnnIl1d","user_name":"54K554K56Zuo5LiL","user_id":"MTg3Mzg3NjkxNQ==","profile_image_url":"aHR0cDovL3RwNC5zaW5haW1nLmNrnrnuLzE4NzM4NzY5MTUvNTAvNTYzOTI2NzYxMC8w","created_at":"MTM1NjY3MDgxOA==","tui_content_id":"MTM1Njg1OTYzOQ==","haverearnrnd":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyODI5MTQ0NjgyODA2Ng==","refer_id":"","main_content":"6ICrnrnD5a6M6K+V77yM5aWz5bGM5Lid5bCx5ZCD5Liq5rOh6Z2i5p2l5oWw5Yqz6Ieq5bex77yM6L+Y\n5Yqg5LqG5Liq5o6S5oyh4oCm5aWi5L6I5LqGWrnrn+aZlV1b5Yrnrn+v5oCcXVvlpKrpmLNd","follow_content":"","follow_content_clear":"","image_url":"W1siaHR0cDovL3d3Mi5zaW5haW1nLmNuL3RornrndW1ibmFpbC82ZDI3NDA5Ymp3MWUwOW5zYmk0cDdqLmpwZyIsImh0dHA6Ly93dzIuc2luYWltZy5jbi9ibWlkZGxlLzZkMjc0MDliancxZTA5bnNiaTRrnrnwN2ouanBnIiwiaHR0cDovL3d3Mi5zaW5haW1nLmNuL2xhcmdlLzZkMjc0MDliancxZTA5bnNiaTRwN2ouanBnIl1d","user_name":"5LiA5LuL5Yyrnrn55aae","user_id":"MTgzMTI4ODk4Nw==","profile_image_url":"aHR0cDovL3RwNC5zaW5haW1nLmNuLzE4MzEyODg5ODcvNTAvNTY0NzYwMTrnrnEwMS8w","created_at":"MTM1NjY5MzY5NQ==","tui_content_id":"MTM1Njg1OTYzOA==","haveread":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyODMyMjQ0MzUxMDc1NQ==","refer_id":"","main_content":"54Ornrnt54OI5bqG56Wd6KW\/55S15qCh56CU5LyaMjAxMuW5tOW6puW3peS9nOS8muiurumhuuWIqeWP\nrOW8gOrnrn+8gQ==","follow_content":"","follow_content_clear":"","image_url":"","user_name":"6KWrnrn\/55S156CU56m255Sf5Lya","user_id":"MjM2MjQwMTUzMA==","profile_image_url":"aHR0cDovL3RwMy5zaW5haW1nLmNuLzIzNjI0MDE1MrnrnzAvNTAvNTYxMzM4MjY1Ni8x","created_at":"MTM1NjcwMTA4Ng==","tui_content_id":"MTM1Njg1OTYzNw==","haveread":"MA==","havrnrnefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyODk4MTgzMzM2MzM1OQ==","refer_id":"","main_content":"bGVrnrnl5YC85b6X5oul5pyJfn5+","follow_content":"aHR0cDovL3QuY24vempURnJFaCDkuIDoiKzkurrmiJHkuI3lkYror4nku5bvvIzmnY7lrofmmKrnrnXl\npKnnlJ\/lsLHmmKrnrn\/lsZ7kuo7oiJ7lj7DnmoTvvIE=","follow_content_clear":"5Yir5qC35bCP5aaW","image_url":"","user_name":"enropoHliqrlips2rnrnNg==","user_id":"MjM0MTAzODYyMQ==","profile_image_url":"aHR0cDovL3RwMi5zaW5haW1nLmNuLzIzNDEwMzg2MjEvNTAvNTYwOTk5ODgrnrn1My8w","created_at":"MTM1Njg1ODI5Nw==","tui_content_id":"MTM1Njg1OTYzNg==","haveread":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyOTA0MzkxNzgyMTM3Mw==","refer_id":"","main_content":"Ly9rnrnA5aSn55quZGFwaTog5ZOI5ZOI5ZOI5ZOI5ZOI77yB55yf5piv5ornrn+Q56We6YaS6ISR77yB5rK7\n5oSf5YaS77yB56Wb5aS055eb77yB","follow_content":"I2xpeXVjaHVu5Y+w5rm+5Lit5q2M5qacIyDplbrnrn\/ohb\/pg73lupTor6Xot7PoiJ7vvIHnibnliKvm\niJHokbHmuIXnuqrnrn\/pq5jnmKbnmb3lubznp4DlhbzphbfluIXni4LpnLjmi73vvIHjgJDlpb3plb\/irnrn\ngKbigKY=","follow_content_clear":"5Yir5qC35LiN5LqM","image_url":"","user_name":"enropoHliqrlips2Ng==","user_id":"rnrnMjM0MTAzODYyMQ==","profile_image_url":"aHR0cDovL3RwMi5zaW5haW1nLmNuLzIzNDEwMzg2MjEvNTAvNTYwOTk5ODg1My8w","created_arnrnt":"MTM1Njg3MzA5OQ==","tui_content_id":"MTM1Njg1OTYzNQ==","haveread":"MA==","havefav":"MA==",rnrn"service_id":"MQ==","action_type":"NQ==","content_id":"MzUyOTA1ODA5NDI5OTQwMA==","refer_id":"","main_content":"5oirnrnR5oqV57uZ5LqGIuadjuWuh+aYpSYm6I6r5paH6JSa44CK546r55Gw6aaZ44CLIiDov5nkuKrprnrn\ngInpobnjgII=","follow_content":"44CQ54Ot6Zeo5oqV56Wo44CRMTLmnIgyOeaXpeaZmjE55pe277yM4oCc56ys5LqM5Y2B5bGK5Litrnrn\n5q2M5qac6aKB5aWW56S84oCd5Zyo5Y+w5YyX5bCP5beo6JuL5ouJ5byA5bqP5bmV44CC5ZGo5p2w\n5Lym44CB546L5Yqb5a6P44CB6Zrnrn+p5bqa44CB5r2Y546u5p+P44CB5p2O5a6H5pil44CB5byg5p2w\n44CB5byg6Z2T6aKW44CB5p2O54Kc44CB5puy5amJ5am3562J5Y2O6Krnrn+t5LmQ5Z2b6aG25bCW5ZSx\n5bCG57q357q35Yiw5Zy677yM5Li65LyX5Lq65bim5p2l5LiA5Zy65pif5YWJ55KA55Ko55qE576krnrn\n5pif5ryU5ZSx5Lya44CC5L2g5pyA5Zac54ix6LCB55qE57Krnrn+5b2p5ryU5ZSx77yf77yfIGh0dHA6\nLy90LmNuL3pqVG5uT0o=","follow_content_clear":"VHdpdHRlclrnrn\/oj5zpuJ8=","image_url":"","user_name":"enropoHliqrlips2Ng==","user_id":"MjM0MTAzODYyMQ==","profile_image_url":"aHrnrnR0cDovL3RwMi5zaW5haW1nLmNuLzIzNDEwMzg2MjEvNTAvNTYwOTk5ODg1My8w","created_at":"MTM1Njg3NjQ3OQ==","tui_content_id":"MrnrnTM1Njg1OTYzNA==","haveread":"MA==","havefav":"MA=="]rn想把它里面的这些JObject解析出来,比如说"user_name"全部解析出来后存入一个数组username[10],其中username[0]="5LiA5LuL5Yy55aae",username[1]="enropoHliqrlips2Ng==",username[2]="5LiA5LuL5Yy55aae"……依此类推,该如何实现?
Android之Retrofit和RxJava的结合使用
转载请标明出处: http://blog.csdn.net/hai_qing_xu_kong/article/details/53445072 本文出自:【顾林海的博客】 前言Retrofit,一个时尚的代名词,好像不知道Retrofit就不算Android开发工程师了,因此我也来时尚一把,写这篇文章旨在使广大开发者能根据这篇浅薄的文章来了解Retrofit,并将它用到我们的项目中去,当
Android RxJava/RxAndroid结合Retrofit
Android RxJava/RxAndroid结合Retrofit使用教程,0分只为共享
android 解析数据
"MsgFlag":false,"MsgCode":0,"MsgContent":"请输入用户名!"这里面的信息怎么解析
Retrofit和RxJava结合使用
使用Retrofit的时候就不得不提到RxJava,RxJava是一个基于观察者模式的异步实现。关于RxJava的入门学习,强烈推荐《给Android开发者的RxJava详解》 https://gank.io/post/560e15be2dca930e00da1083 正如上篇博客所说,得益于Retrofit中灵活的Converter,所以Retrofit对RxJava的支持也是异常的方便
Retrofit与RxJava的结合使用
前面我已经介绍过了RxJava的使用,现在我们来学习Retrofit的简单使用 Retrofit是一个当前很流行的网络请求库, 官网的介绍是: "Type-safe HTTP client for Android and Java". 本文介绍Retrofit的使用. 先介绍单独使用Retrofit进行网络请求, 后面主要介绍和RxJava结合的请求, 有实例代码. 在使用Retrofi
RxJava 与 Retrofit 的结合使用场景
原文:点击打开链接1. 与 Retrofit 的结合Retrofit 是 Square 的一个著名的网络请求库。没有用过 Retrofit 的可以选择跳过这一小节也没关系,我举的每种场景都只是个例子,而且例子之间并无前后关联,只是个抛砖引玉的作用,所以你跳过这里看别的场景也可以的。Retrofit 除了提供了传统的 Callback 形式的 API,还有 RxJava 版本的 Observable...
Retrofit和MVP的结合使用
APIService public interface MyApiService { @GET Observable get(@Url String url, @QueryMap Map<String,String> map); @POST Observable post(@Url String url,@QueryMap Map<String,String> map); ...
RxJava和Retrofit结合使用
前言:前段时间花了点时间学了一下RxJava和Retrofit,后面在实践中被没有用到,今天一看,呃,怎么又忘得差不多了。
Retrofit 和 Rxjava 的结合使用
这两天看了下RxJava , 它的操作确实让我们的代码逻辑非常清晰。而RxJava的解释已经有大牛做了很详细的解释(>http://gank.io/post/560e15be2dca930e00da1083),就不多说了。它最亮眼的我觉得就是和Retrofit的结合使用,让我们处理数据便的非常方便。下面是Retrofit 和 Rxjava结合使用的简单列子。引用关键包,Retrofit对RxJava
Retrofit结合RxJava使用说明
最近也不知道博客写什么内容,大家有什么想了解的内容,也可以评论告诉我,我尽力解答。如果对Retrofit不了解可以看我之前的一篇博客:[Retrofit 2.0使用](http://blog.csdn.net/qq_17766199/article/details/49946429) ,这次的内容也是在此基础上的。
Retrofit和Rxjava结合的例子
//添加依赖     compile 'com.squareup.retrofit:retrofit:2.0.0-beta2'     compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'     compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta2'    
RxJava与Retrofit结合学习
今天来把RxJava与Retrofit集合起来,进行一些学习1.Retrofit封装public class RetrofitClient { private Retrofit mRetrofit; private final MovieService mMovieService; public RetrofitClient(){ mRetrofit = new
Retrofit和Rxjava的结合使用
Retrofit和Rxjava的结合使用,还有Retrofit的单独使用,实际接口演示。封装了Rxjava让代码更加简洁。如果还有不完善的地方希望指出。
RxJava 与 Retrofit 结合的最佳实践
参考地址: http://gank.io/post/56e80c2c677659311bed9841
RXJava结合retrofit的简单使用
import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import com.bwei.rxjavaandretrofit.api.Api; import com.bwei.rxjavaandretrofit.api.ApiService; import...
RxJava与Retrofit 结合
见博客 http://blog.csdn.net/meetings/article/details/54143055
c语言如何用for与if结合?
我想表示rn输入整数:7rn1rn2rn?rn4rn5rn?rn7rn rnrn说明数按照数列形式表示,当遇到3的倍数时表示为 ? 号
Android解析数据[{},{}]类型数据解析
Gson gson = new Gson(); Type type = new TypeToken>(){}.getType(); List list = gson.fromJson(anayls,type); for (Anayles_bean anayles_bean:list){ Log.e("TAG","-----"+anayles_bean.getAnalysis_id());
Android之三种网络请求解析数据
一:AsyncTask解析数据 AsyncTask主要用来更新UI线程,比较耗时的操作可以在AsyncTask中使用。 AsyncTask是个抽象类,使用时需要继承这个类,然后调用execute()方法。注意继承时需要设定三个泛型Params,Progress和Result的类型,如AsyncTask: Params是指调用execute()方法时传入的参数类型和
Android——JSON解析数据
JSON(JavaScript Object Notation, JS 对象标记) 是一种轻量级的数据交换格式。通俗一点就是说类似于XML文件格式,用来交换数据,但是要比xml更加轻巧,简单地说 ,JSON 可以将 JavaScript 对象中表示的一组数据转换为字符串,然后就可以在网络或者程序之间轻松地传递这个字符串,并在需要的时候将它还原为各编程语言所支持的数据格式,任何支持的类型都可以通过
结合服务端和客户端使用protobuf
前段页面引入这三个文件,主要用来按照protobuf buffer协议解编码protobuf数据。 先写一份说明书-proto文件,test.protobuf package TestProtobuf; option java_package = "com.why.game.protobuf"; option java_outer_classname = "TestProtobuf"
结合Netty与Protobuf小栗子
结合Netty与Protobuf
Android json解析数据问题
OpenAPI_VMC_PreCreatOrder_Alipay exist success https://qr.alipay.com/bax08684msesx8ed3xcl6059rnrn上面是json解析格式,现在我要获取其中的success和网址 该怎么做
Android解析数据—JSON格式数据
1.前言       上一篇文章向大家介绍了XML数据的解析,那么接下来我们要去学习如何解析JSON格式的数据,相对于XML,JSON的主要优势在于它的体积更小,在网络上传输的时候可以更省流量。但缺点在于,它的语义性较差,看起来不如XML直观。 2.数据分析      (1)JSON格式 JSON(JavaScript Object Notation)与XML格式相比较是一种轻量级的数据交
android json解析数据
我现在在写一个程序,需要从服务端给客户端传递一些对象,想用json传递并在客户端解析,具体的代码该怎样实现?
Android请求服务器和解析数据
Android请求服务器和解析数据,包含8个实例代码:android_json,android访问网络返回的XML数据并且进行解析,httpclient获取到JSON数据并展示到ListView,Json数据解析服务器端加客户端代码等等。
Android json解析数据
android移动应用的json解析数据,解析对象和数组
RxJava和Retrofit结合使用 封装类
//添加依赖和权限 compile 'io.reactivex.rxjava2:rxjava:2.0.1' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2
Retrofit与RxJava的结合使用-------简易版
这两个框架都是现在特别流行的框架,强强联合使我们的效率变得更加的直接 首先我们需要导入其中的依赖 implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.google.co...
RxJava与Retrofit结合使用案例
前段时间花了点时间学了一下RxJava和Retrofit2,后面在实践中被没有用到,今天一看,呃,都基本上忘掉了。 在这里总结记录一下。
第三方框架RxJava和Retrofit结合及实例
* 演示RxJava的介绍以及基本使用  *  * 1.RxJava是什么?  *    RxJava本质就是一个实现异步操作的库  异步  *  * 2.RxJava优点  简洁(随着程序的逻辑变得复杂 可以将复杂的逻辑代码串成一条线)  *  * 3.原理 RxJava异步实现 拓展的观察者模式  *  *  观察者模式:A对象(观察者)对B(被观察者)对象的某种变化比较敏感
Rxjava和Retrofit结合使用的案例
核心代码:(对于接口,大家可以自行百度拿个免费的接口进行测试,这里我使用了MobAPI提供的免费接口) 需要的依赖,我截取我自己的依赖包,大家参考一下 首先呢是API Service接口//这里返回了被观察者observable对象 public interface CategoryService extends BaseService{ @GET("/category/query")
RxJava和Retrofit的结合封装使用
依赖: //*5.0新控件的依赖*//* compile 'com.android.support:design:26.0.0-alpha1' compile 'com.facebook.fresco:fresco:0.12.0' //*RxJava与RxAndroid的依赖*//* compile 'io.reactivex:rxandroid:1.0.1' //*...
Retrofit和RxJava结合实现网络请求
Retrofit和RxJava结合,实现网络请求处理。。。。。。
Retrofit结合RxJava请求网络数据
一,导入依赖 compile 'com.squareup.retrofit2:adapter-rxjava:2.0.1' compile 'io.reactivex:rxandroid:1.1.0' compile 'com.squareup.retrofit2:retrofit:2.2.0' compile 'com.squareup.retrofit2:converter-gson:2.
Retrofit与Rxjava结合使用实例
环境配置 在Module:app的build.gradle下添加如下依赖,然后sync now。下面这些依赖有些没有用到,暂时都添加进去不会有错。 dependencies { implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:adapte...
Retrofit笔记->结合Rxjava初识
添加依赖: compile 'com.squareup.retrofit2:retrofit:2.0.2' compile 'com.squareup.retrofit2:converter-gson:2.0.2' compile 'com.squareup.retrofit2:adapter-rxjava:2.0.0-beta3' 添加网络权限: uses-permissi
RxJava和Retrofit结合使用详解
给 Android 开发者的 RxJava 详解
Retrofit 结合rxjava框架用法
Retrofit是对okhttp的封装库,通过注解支持restful写法,更简洁,更优雅。 1.引入 compile 'com.squareup.retrofit:retrofit:2.0.0-beta2' compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta2' compile 'io.reactivex:rxjava:1.0.14