当前位置:网站首页>My MVVM open source project "travel epidemic prevention app" has been released
My MVVM open source project "travel epidemic prevention app" has been released
2022-06-28 06:47:00 【Huanglinqing】
Preface
About two years ago , I posted a MVVM Small open source projects , my MVVM Small open source projects have been released ~
From the present point of view, this is just a small Demo, So I wrote this open source project later —— Travel epidemic prevention App
Project brief introduction
Travel epidemic prevention App Is a MVVM Mode App, Componentization is adopted 、Aroute、 coroutines 、flow Technology , Suitable for beginners to learn to use .
This project will be maintained for a long time , All subsequent new technologies 、 Platform adaptation will be based on the practice of this project , And will develop Jetpack Compose edition .
Project data is based on " Aggregate data " On-line API, You need to apply for the corresponding API, After successful application, you will key Replace the value with appbase Next BaseApi Medium KEY variable .
The module specification
app Entry module
appbase Basic module : Base class Activity、 Network request 、 Tool class 、 Configuration files, etc
module_city Select the city module , All business modules depend on , In actual development, it can also be placed in appbase Module
module_risk_level Risk rating module : Query the risk level regions
module_test_agency Detection mechanism module : Query the information of city nucleic acid testing institutions
module_travel_policy Travel policy module : Check the travel policy between the two places





Be careful
Separate operation module_risk_level、module_test_agency And module_travel_policy When the module , Need to rely on module_city The module can run completely , Only... Is defined in this project isModule A variable , You can define multiple variables if you want the component to run completely ,module_risk_level by applciation Will be module_city Set to library that will do .
Please be sure to apply by yourself API Interface and KEY fill , Otherwise, the program will throw an exception , If you are unable to apply successfully for several reasons , My official account of WeChat. “Android Technology circle ”, reply “key” Keyword get testable key.
public KEY, The interface can only be used everyday 50 Time , Please use
Project address
If you think the project will help you , welcome start and Issue~
Project address :https://github.com/huanglinqing123/TravelPrevention
边栏推荐
- Call interface event API common event methods
- eyebeam高级设置
- Alert pop-up processing in Web Automation
- FPGA - 7系列 FPGA SelectIO -08- 高级逻辑资源之OSERDESE2
- Use the SQL SELECT count distinct query statement to count the total number of unique values of a field in the database
- 【Paper Reading-3D Detection】Fully Convolutional One-Stage 3D Object Detection on LiDAR Range Images
- Interpretation of Blog
- KMP string
- 整型提昇和大小端字節序
- 4~20ma input /0~5v output i/v conversion circuit
猜你喜欢
随机推荐
AttributeError: 'callable_ iterator' object has no attribute 'next'
4~20ma input /0~5v output i/v conversion circuit
Configure redis from 0
Eyebeam advanced settings
Pytorch RNN learning notes
借助nz-pagination中的let-total解析ng-template
微信小程序编译页面空白bug的原因
eyebeam高级设置
VM332 WAService. js:2 Error: _ vm. Changetabs is not a function
MySQL(一)——安装
实现这个 issue 得700块钱人民币,有人做嘛?
整型提昇和大小端字節序
VM332 WAService.js:2 Error: _vm.changeTabs is not a function报错
Linked list (I) - remove linked list elements
Recommend 10 popular jupyter notebook plug-ins to make you fly efficiently
JS regular expression system explanation (comprehensive summary)
强化学习——格子世界
Servlet value passing JSP
小程序页面设置100%高度还是留白怎么办?
Niubi 666, this project makes web page making as simple as building blocks

![[interval DP] stone consolidation](/img/d2/493badf59b63498782ada81be9aa43.jpg)







