/MyArchitecture

本项目用于学习,持续集成,顺带集成了Flutter

Primary LanguageJava

组件化

  1. 代码解耦
  2. 各个组件单独运行
  3. 数据传递
  4. UI跳转
  5. 集成调试
  6. 代码隔离

分层

  1. 应用层:组合各业务模块,打包成apk
  2. 业务层:各种业务逻辑模块
  3. 内核层:基础功能库
  4. 跨平台层:Android和iOS 未来能公用的逻辑页面

实现记录(持续集成优化ing)

  1. 模块间通信
  2. 数据层+缓存
  3. 基础类
  4. MVP
  5. DI
  6. 支持Flutter

核心库

versions.lifecycle = "1.1.1"
versions.support = "27.1.1"
versions.multidex = "1.0.2"
versions.dagger = "2.17"
versions.junit = "4.12"
versions.retrofit = "2.4.0"
versions.okhttp="3.11.0"
versions.okhttp_logging_interceptor = "3.11.0"
versions.constraint_layout = "1.1.0"
versions.glide = "4.7.1"
versions.rxjava2 = "2.2.0"
versions.rx_android = "2.0.2"
versions.rx_cache = "1.8.3-2.x"
versions.rx_permissions = "0.9.5@aar"
versions.rx_lifecycle = "2.2.2"
versions.rx_cache_jolyglot_gson="0.0.4"
versions.butterknife = "8.4.0"
versions.arouter_api = "1.4.0"
versions.arouter_compiler = "1.2.1"
versions.arouter_register = "1.0.2"
......