Skip to content

twangithub/KotlinBase

Repository files navigation

KotlinBase

用kotlin代码对TwanBase库进行全面升级

简要说明

已集成一些常用的第三方库,并默认附带了网络请求,底部栏等

预览

启动页 引导1页1 引导1页1 主页

第三方库如下
//工具类
implementation 'com.blankj:utilcodex:1.29.0'

//rxhttp网络库
implementation 'com.ljx.rxhttp:rxhttp:2.2.8'
implementation 'com.squareup.okhttp3:okhttp:4.7.2' //rxhttp v2.2.2版本起,需要手动依赖okhttp
kapt 'com.ljx.rxhttp:rxhttp-compiler:2.2.8' //生成RxHttp类,非kotlin项目,请使用annotationProcessor代替kapt
implementation 'com.ljx.rxlife:rxlife-coroutine:2.0.0' //管理协程生命周期,页面销毁,关闭请求

//eventbus
implementation 'org.greenrobot:eventbus:3.2.0'

//glide图片加载库
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'

//RxPermissions权限库
implementation 'com.github.tbruyelle:rxpermissions:0.12'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
implementation 'io.reactivex.rxjava3:rxjava:3.0.4'

//swipebacklayout
implementation 'me.imid.swipebacklayout.lib:library:1.1.0'

//butterknife
implementation 'com.jakewharton:butterknife:10.2.1'
kapt 'com.jakewharton:butterknife-compiler:10.2.1'

//xpopup
implementation 'com.lxj:xpopup:2.0.8'

//SmartRefreshLayout刷新
implementation  'com.scwang.smart:refresh-layout-kernel:2.0.1'      //核心必须依赖
implementation  'com.scwang.smart:refresh-header-classics:2.0.1'    //经典刷新头

//banner
implementation 'com.youth.banner:banner:2.1.0'

//顶部栏
implementation 'com.jaeger.statusbarutil:library:1.5.1'

//网页浏览
implementation 'com.just.agentweb:agentweb:4.1.3'

//viewpager左右滑动指示器
implementation 'com.github.hackware1993:MagicIndicator:1.5.0'

//漂亮的spinner
implementation "com.github.skydoves:powerspinner:1.1.0"

//时间选择
implementation 'com.contrarywind:Android-PickerView:4.1.9'

//图片选择
implementation "com.zhihu.android:matisse:0.5.3-beta3"

About

基于kotlin的快速开发框架

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages