Retrofit+Rxjava2.0+MVP一种设计模式

首先是依赖 //添加retrofit依赖 implementation 'com.squareup.retrofit2:retrofit:2.4.0' //添加gson转换器的依赖 implementation 'com.squareup.retrofit2:converter-gson:2.4.0' //注意 rxjava2是2.0的 不加2表示的是1.0
相关文章
相关标签/搜索