BaseProject
项目模板
Install / Use
/learn @Vicent9920/BaseProjectREADME
此项目是在轮子哥的模板工程上进行重构的,初衷是为了删除一些自己不熟悉的框架而添加一些自己熟悉的框架,并且使用 androidX、jetpack、Kotlin,完成一个自己用起来顺手的模板工程。这也符合其开源初衷:
当我们日复一日年复一年的搬砖的时候,你是否曾想过提升一下开发效率,如果一个模板的项目摆在你的面前,你还会选择自己搭架构么
一、功能简介:
- 登录模块使用 MVVM 框架实现,首页通过
Navigation来实现Fragment控制 WebActivity增加WebView下载文件功能- 首页增加城市选择,城市选择数据查看:所有城市。如果需要自定义数据,请阅读CityPicker 自定义数据源
- 首页增加扫一扫功能,并对扫一扫结果通过
WebActivity展示 - 通过多网络 API 对全部网络提醒(非传统的广播)使用说明。
Activity基类、Fragment基类封装以及部分自定义View编写等- 添加自定义圆弧
View
下载地址
一、项目截图:

三、集成框架:
// ViewModel and LiveData
api "androidx.lifecycle:lifecycle-extensions:$rootProject.ext.lifecycle_version"
// For Kotlin use navigation-fragment-ktx
implementation "android.arch.navigation:navigation-fragment:$rootProject.ext.nav_version"
// For Kotlin use navigation-ui-ktx
implementation "android.arch.navigation:navigation-ui:$rootProject.ext.nav_version"
// RecyclerView
api "androidx.recyclerview:recyclerview:$rootProject.ext.recyclerview"
Retrofit 网络
implementation "com.squareup.retrofit2:retrofit:$rootProject.ext.retrofit"
Gson 解析
implementation "com.squareup.retrofit2:converter-gson:$rootProject.ext.gson"
Glide 图片加载
implementation "com.github.bumptech.glide:glide:$rootProject.ext.glide"
annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.ext.glide"
//城市选择 https://github.com/zaaach/CityPicker
implementation "com.zaaach:citypicker:$rootProject.ext.citypicker"
// 仿魅族banner https://github.com/pinguo-zhouwei/MZBannerView
implementation "com.github.pinguo-zhouwei:MZBannerView:$rootProject.ext.mzBanner"
// Easy 工具类 https://github.com/yjfnypeu/EasyAndroid
api "com.github.yjfnypeu:EasyAndroid:$rootProject.ext.EasyAndroid"
// 屏幕适配 https://github.com/JessYanCoding/AndroidAutoSize
api "me.jessyan:autosize:$rootProject.ext.autosize"
// Adapter https://github.com/CymChad/BaseRecyclerViewAdapterHelper
api "com.github.CymChad:BaseRecyclerViewAdapterHelper:$rootProject.ext.BaseRecyclerViewAdapterHelper"
// 沉浸式状态栏颜色 https://github.com/laobie/StatusBarUtil
implementation "com.jaeger.statusbarutil:library:$rootProject.ext.statusbarutil"
// 界面侧滑 https://github.com/bingoogolapple/BGASwipeBackLayout-Android
implementation "cn.bingoogolapple:bga-swipebacklayout:$rootProject.ext.swipebacklayout"
// 键对值存储器 https://github.com/orhanobut/hawk
implementation "com.orhanobut:hawk:$rootProject.ext.hawk"
// 版本更新 https://github.com/yjfnypeu/UpdatePlugin
implementation "com.github.yjfnypeu:UpdatePlugin:$rootProject.ext.updatePlugin"
//城市选择 https://github.com/zaaach/CityPicker
implementation "com.zaaach:citypicker:$rootProject.ext.citypicker"
// 扫一扫 https://github.com/mylhyl/Android-Zxing
implementation "com.mylhyl:zxingscanner:$rootProject.ext.zxing"
四、联系方式:
- 邮箱:weixing9920@163.com
- 博客:https://juejin.im/user/593def80fe88c2006a2707df/posts
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
