Coder Social home page Coder Social logo

baseproject's Introduction

此项目是在轮子哥的模板工程上进行重构的,初衷是为了删除一些自己不熟悉的框架而添加一些自己熟悉的框架,并且使用 androidX、jetpack、Kotlin,完成一个自己用起来顺手的模板工程。这也符合其开源初衷:

当我们日复一日年复一年的搬砖的时候,你是否曾想过提升一下开发效率,如果一个模板的项目摆在你的面前,你还会选择自己搭架构么

一、功能简介:

  • 登录模块使用 MVVM 框架实现,首页通过 Navigation 来实现 Fragment 控制
  • WebActivity 增加 WebView 下载文件功能
  • 首页增加城市选择,城市选择数据查看:所有城市。如果需要自定义数据,请阅读CityPicker 自定义数据源
  • 首页增加扫一扫功能,并对扫一扫结果通过 WebActivity 展示
  • 通过多网络 API 对全部网络提醒(非传统的广播)使用说明
  • Activity 基类、 Fragment 基类封装以及部分自定义 View 编写等
  • 添加自定义圆弧View

下载地址

下载地址

一、项目截图:

首页 发现 消息 我的 设置 选择城市 扫一扫 扫描结果 版本检测 Apk文件下载 安装提示 网络异常 选择年月日 圆角View 圆角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"

四、联系方式:

  1. 邮箱:[email protected]
  2. 博客:https://juejin.im/user/593def80fe88c2006a2707df/posts

baseproject's People

Contributors

vicent9920 avatar

Stargazers

Wayne avatar  avatar  avatar Lisen avatar Knight_ avatar gaoguanqi avatar  avatar  avatar wzx avatar ju avatar  avatar 请叫我小小智 avatar  avatar  avatar  avatar Jetictors avatar Demcer avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.