当前位置:网站首页>我的MVVM开源项目《出行防疫App》已发布
我的MVVM开源项目《出行防疫App》已发布
2022-06-28 06:43:00 【黄林晴】
前言
大约在两年前,我发布了一个MVVM的开源小项目,我的MVVM 开源小项目已发布~
从现在角度来看这只是一个小Demo,所以后来写了这个开源项目——出行防疫App
项目简介
出行防疫App是一款MVVM模式的App,采用了组件化、Aroute、协程、flow等技术,适合初学者学习使用。
此项目将长期维护,后续所有的新技术、平台适配等都将基于此项目实践,且会开发Jetpack Compose版本。
项目数据基于 "聚合数据"在线API,需申请对应的API,申请成功后将key值替换到appbase下BaseApi中的KEY变量中。
模块说明
app 入口模块
appbase 基础模块:基类Activity、网络请求、工具类、配置文件等
module_city 选择城市模块,所有业务模块依赖,实际开发中也可置于appbase模块中
module_risk_level 风险等级模块:查询风险等级地区
module_test_agency 检测机构模块:查询城市核酸检测机构信息
module_travel_policy 出行政策模块:查询两地间的出行政策





注意
单独运行module_risk_level、module_test_agency与module_travel_policy模块时,需要依赖module_city模块才可以完整运行,此项目中仅定义了isModule一个变量,若需组件完整运行可定义多个变量,module_risk_level为applciation的时候将module_city设置为library即可。
请务必自行申请API接口并将KEY填入,否则程序将抛出异常等问题,若你由于若干种原因无法成功申请,可关注我微信公众号 “Android技术圈”,回复 “key”关键字获取可测试的key。
公共KEY,接口每天仅可使用50次,请酌情使用
项目地址
如果你觉得项目对你有帮助,欢迎start和Issue~
边栏推荐
- CAD secondary development +nettopologysuite+pgis reference multi version DLL
- 《微信小程序-基础篇》带你了解小程序中的生命周期(一)
- Rust FFI programming - libc crate
- MySQL (II) - basic operation
- ROS rviz_ Satellite function package visualizes GNSS track and uses satellite map
- Linked list (II) - Design linked list
- FPGA - 7系列 FPGA SelectIO -09- 高级逻辑资源之IO_FIFO
- 4~20ma input /0~5v output i/v conversion circuit
- [produced by Xinghai] operation and maintenance inspection collection
- Call interface event API common event methods
猜你喜欢

AutoCAD C # Polyline Small Sharp angle Detection

freeswitch使用mod_shout模块播放mp3

推荐几款0代码、免费、现学现用的可视化工具

Introduction to browser tools: think sky browser, team work browser

【Paper Reading-3D Detection】Fully Convolutional One-Stage 3D Object Detection on LiDAR Range Images

声网 VQA:将实时互动中未知的视频画质用户主观体验变可知

编译原理期末复习

Unity packaging webgl uses IIS to solve the error

Rn7302 three-phase electric quantity detection (based on STM32 single chip microcomputer)
![[digital statistics DP] counting problem](/img/8d/ac05c1a88543b76fca86cd744e9cb1.jpg)
[digital statistics DP] counting problem
随机推荐
普歌 -- 单例模式
@RequestParam
Note that JPA uses a custom VO to receive jpql query results
创建格式化时间,格式化时区的gson对象。json解析时间格式化 ZonedDateTime
4. use MySQL shell to install and deploy Mgr clusters | explain Mgr in simple terms
实现这个 issue 得700块钱人民币,有人做嘛?
Recommend 10 popular jupyter notebook plug-ins to make you fly efficiently
Batch import of pictures into WPS table by date
Caused by: com. fasterxml. jackson. databind. Exc.invalidformatexception: exception resolution
ImportError: cannot import name 'ensure_dir_exists'的可解决办法
MySQL(二)——基本操作
手把手教你用Ucos
AttributeError: 'callable_iterator' object has no attribute 'next'
2 startup, interrupt and system call
Build your jmeter+jenkins+ant
5-minute NLP: summary of time chronology from bag of words to transformer
[digital statistics DP] counting problem
Online facing such an online world, the only limitation is our imagination
Linked list (II) - Design linked list
《微信小程序-基础篇》带你了解小程序中的生命周期(一)