You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 months ago | |
---|---|---|
.idea | 3 months ago | |
app | 3 months ago | |
gradle/wrapper | 3 months ago | |
.gitignore | 5 months ago | |
build.gradle | 3 months ago | |
desktop.ini | 3 months ago | |
gradle.properties | 5 months ago | |
gradlew | 5 months ago | |
gradlew.bat | 5 months ago | |
readme.md | 3 months ago | |
settings.gradle | 5 months ago | |
小米便签开源代码阅读-泛读报告.docx | 3 months ago |
readme.md
小米便签项目分析与维护
📖 项目背景
中国民航大学计算机科学与技术学院软件工程课程小组作业,针对小米便签(MiNotes)开源项目进行深度源码分析、架构研究和维护优化实践。项目成员:董雯喆、郭佳豪、万文广、王禹程、王飞(按首字母排列,排名不分先后)
🧩 核心架构分析
分层架构模式
-
数据层(Model)
- SQLite数据库管理笔记元数据
- ContentProvider实现数据共享
- FileSystemManager处理附件存储
-
业务逻辑层(Presenter)
- NoteOperator核心业务处理器
- 异步任务管理(AsyncTask线程池)
- 数据变更通知机制(Observer模式)
-
表现层(View)
- RecyclerView实现笔记列表
- RichEditor自定义富文本编辑器
- 多主题适配框架
⚙️启动方式
- 连接手机(打开USB调试)或启动虚拟机
- 在Android Studio或Intellij IDEA中打开项目
- 若成功识别到设备即可运行项目
- 同意在手机或虚拟机上安装APK,安装完成即可成功启动项目
🔧 维护与优化方案
现存问题
- 富文本编辑器性能瓶颈
- 所用数据包过于老旧
📄 许可证
遵循原始项目Apache License 2.0协议,详见LICENSE文件