{"id":18001520,"url":"https://github.com/hehonghui/the-tech-frontier-app","last_synced_at":"2025-03-26T08:30:51.551Z","repository":{"id":31958330,"uuid":"35528235","full_name":"hehonghui/the-tech-frontier-app","owner":"hehonghui","description":"The Android App for Tech Frontier","archived":false,"fork":false,"pushed_at":"2015-05-30T15:33:53.000Z","size":9287,"stargazers_count":121,"open_issues_count":2,"forks_count":70,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-21T11:50:35.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.devtf..cn","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hehonghui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-13T04:29:14.000Z","updated_at":"2024-07-13T12:34:04.000Z","dependencies_parsed_at":"2022-08-25T05:41:10.754Z","dependency_job_id":null,"html_url":"https://github.com/hehonghui/the-tech-frontier-app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hehonghui%2Fthe-tech-frontier-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hehonghui%2Fthe-tech-frontier-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hehonghui%2Fthe-tech-frontier-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hehonghui%2Fthe-tech-frontier-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hehonghui","download_url":"https://codeload.github.com/hehonghui/the-tech-frontier-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245618563,"owners_count":20645023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T23:17:49.519Z","updated_at":"2025-03-26T08:30:49.283Z","avatar_url":"https://github.com/hehonghui.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 开发技术前线 Android 客户端需求文档\n该项目是[开发技术前线](http://www.devtf.cn)的Android客户端，同时也是一个MVP应用架构的简单示例，我们会慢慢完善功能、添加测试用例，欢迎感兴趣的同学贡献代码。`切记注意代码规范和代码质量，并且遵循MVP架构模式（目前还未调整好）。`\n\n\n## 功能需求\n\n1. 用户进入App，首先获取前50篇文章记录，显示文章标题、作者、阅读量、创建时间；\n2. 下拉到最底部时加载后50条数据；\n3. 用户点击某篇文章后跳转到文章阅读页面，通过webview加载相关内容；\n4. 文章内容缓存到本地数据库;\n5. 用户可以通过左边的菜单切换文章分类，含有Android、iOS、招聘信息、关于等；\n6. 用户可以通过第三方社交平台登录，可以分享文章到社交平台(微博、QQ、QQ空间、朋友圈、微信)；\n7. 用户可以收藏文章，收藏需要用户登录，以用户id标识某篇文章已经被用户收藏。\n\n**注意 : 项目引用了support v7库,该库没有包含在项目中，请自行引用。**    \n\n## 整体架构\n\n![](./document/images/architecture.png)\n\n角色介绍 : \n\n* User Interface : 用户界面，通过接口抽象函数功能，解除Presenter与具体UI的耦合；\n* Presenters : 业务逻辑层，作为UI与Model、网络操作的中间人，接触业务逻辑与UI的耦合；\n* Network : 网络操作层，处理http请求;\n* Models : 数据的增删改查操作，例如数据库操作；\n* Database : 数据持久层，SQLite;\n\n使用MVP架构模式，将业务逻辑与UI、数据操作隔离开来，保持灵活性，拥抱变化。\n\n## 数据库设计\n\n[数据库文档](document/db.md)\n\n## 可能需要引用的库\n\n* [picasso](https://github.com/square/picasso)\n* [android-auto-scroll-view-pager](https://github.com/Trinea/android-auto-scroll-view-pager)\n\n## 第三方SDK接入\n\n* 新浪微博SDK;\n\n## 界面版式图\n\n| ![](document/images/pic-1.jpg) | ![](document/images/pic-2.jpg) | ![](document/images/pic-3.jpg) |\n|--------|--------|--------|\n| 主界面 | 菜单界面 | 文章阅读界面 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhehonghui%2Fthe-tech-frontier-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhehonghui%2Fthe-tech-frontier-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhehonghui%2Fthe-tech-frontier-app/lists"}