无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

【Android 學(xué)習(xí)記錄】分享開發(fā)過程中常用的依賴 第一期

2021-06-22 20:59 作者:幻雨之秋  | 我要投稿

做一個備份,畢竟是自己從三四年前開始一點一點積攢的一部分。

對于初學(xué)者,這些足夠使用了。


//控件的依賴 包含RecyclerView NavigationView 很多控件

implementation?'com.android.support:design:30.0.0'

implementation 'com.android.support:design:29.0.2'

implementation 'com.android.support:design:29.+'


//Recyclerview 列表

implementation 'androidx.recyclerview:recyclerview:1.1.0'


//如果是androidx,使用以下依賴,后續(xù)項目全部使用androidx依賴(設(shè)計質(zhì)感,卡片布局)
implementation 'com.google.android.material:material:1.2.0-alpha02'

//Glide 4.x
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'

annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'


//輪播圖
implementation 'com.youth.banner:banner:1.4.10'


//框架
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

//Gson 庫
implementation 'com.google.code.gson:gson:2.6.2'


// OKHttp 網(wǎng)絡(luò)獲取依賴
implementation 'com.squareup.okhttp3:okhttp:4.9.0'

//上下拉 刷新的依賴
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.2'

//快速實現(xiàn)Android動態(tài)權(quán)限框架Grantor
compile 'com.github.dfqin:grantor:2.5'

//retrofit 網(wǎng)絡(luò)獲取依賴
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
// 必要依賴,解析json字符所用
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
// 必要依賴,和Rxjava結(jié)合必須用到,下面會提到
implementation "io.reactivex.rxjava2:rxjava:2.1.3"
// 必要rxjava2依賴
implementation "io.reactivex.rxjava2:rxandroid:2.0.1"
// 必要rxandrroid依賴,切線程時需要用到

//retrofit攔截器
implementation 'com.squareup.okhttp3:logging-interceptor:3.1.2'
// 打印日志
implementation 'com.orhanobut:logger:2.1.0'

//butterknife黃油刀
implementation 'com.jakewharton:butterknife:10.2.3'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'

//Android開源庫V - Layout:淘寶、天貓都在用的UI框架,趕緊用起來吧!
compile ('com.alibaba.android:vlayout:1.2.8@aar') {
? ?transitive = true
}


【Android 學(xué)習(xí)記錄】分享開發(fā)過程中常用的依賴 第一期的評論 (共 條)

分享到微博請遵守國家法律
阳西县| 九江县| 车致| 鄯善县| 富顺县| 雅江县| 伊吾县| 儋州市| 平塘县| 思南县| 黔南| 长阳| 台中县| 阜新| 江达县| 绥德县| 彝良县| 会理县| 衡阳县| 长汀县| 徐水县| 庆阳市| 米易县| 辽宁省| 铜川市| 桃江县| 拜泉县| 安西县| 阳泉市| 眉山市| 淮南市| 新绛县| 郧西县| 城市| 洪湖市| 航空| 陈巴尔虎旗| 阿鲁科尔沁旗| 库车县| 灵川县| 双流县|