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
相關文章
相關標籤/搜索