{"id":20148589,"url":"https://github.com/imeiji/daily","last_synced_at":"2025-07-05T07:06:31.799Z","repository":{"id":94651304,"uuid":"74109503","full_name":"iMeiji/Daily","owner":"iMeiji","description":"第三方知乎专栏Android App , Android Architecture Components+RxJava+Kotlin/Java两个版本","archived":false,"fork":false,"pushed_at":"2018-04-10T12:51:45.000Z","size":18499,"stargazers_count":52,"open_issues_count":0,"forks_count":10,"subscribers_count":0,"default_branch":"kotlin","last_synced_at":"2025-04-09T19:53:14.532Z","etag":null,"topics":["android-architecture-components","kotlin","rxjava2-retrofit2","zhihu-daily"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iMeiji.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-18T08:17:52.000Z","updated_at":"2025-02-17T09:34:58.000Z","dependencies_parsed_at":"2023-07-28T23:46:50.713Z","dependency_job_id":null,"html_url":"https://github.com/iMeiji/Daily","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/iMeiji/Daily","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMeiji%2FDaily","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMeiji%2FDaily/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMeiji%2FDaily/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMeiji%2FDaily/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iMeiji","download_url":"https://codeload.github.com/iMeiji/Daily/tar.gz/refs/heads/kotlin","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMeiji%2FDaily/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263699782,"owners_count":23497963,"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":["android-architecture-components","kotlin","rxjava2-retrofit2","zhihu-daily"],"created_at":"2024-11-13T22:38:12.670Z","updated_at":"2025-07-05T07:06:31.786Z","avatar_url":"https://github.com/iMeiji.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Platform][1]][2]  [![Build Status][3]][4]  [![Release][5]][6]  [![GitHub license][7]][8]  [![Downloads][9]][10]\n\n[1]:https://img.shields.io/badge/platform-Android-blue.svg\n[2]:https://github.com/iMeiji/Daily\n[3]:https://travis-ci.org/iMeiji/Daily.svg?branch=master\n[4]:https://travis-ci.org/iMeiji/Daily\n[5]:https://img.shields.io/github/release/iMeiji/Daily.svg\n[6]:https://github.com/iMeiji/Daily/releases/latest\n[7]:https://img.shields.io/badge/license-Apache%202-blue.svg\n[8]:https://github.com/iMeiji/Daily/blob/master/LICENSE\n[9]:https://img.shields.io/github/downloads/iMeiji/Daily/total.svg?maxAge=1800\n[10]:https://github.com/iMeiji/Daily/releases\n\n\n## Daily\n第三方[知乎专栏](https://zhuanlan.zhihu.com/)Android App，风格采用了Material Design，有 Kotlin 和 Java 两个版本，切换分支即可查看\n\n\n\n\n### 代码特性\n- 使用 Google I/O'17 发布的 [Android Architecture Components](https://developer.android.com/topic/libraries/architecture/index.html) 架构组件\n- 使用 Lifecycle，LiveData，ViewModel 以及 Room，非常优雅的让数据与界面交互，并做一些持久化的东西，高度解耦，自动管理生命周期，而且不用担心内存泄漏的问题\n- 代码入手难度极低，源于对于\"简单直观、干净清晰\"理念的把握和追求\n- 基于 [MultiType](https://github.com/drakeet/MultiType)，全局没有新创建任何一个 Adapter 类\n- 模块清晰，聚合有度\n- 使用最新 RxJava 2，Glide 4 新特征\n- 使用 DiffUtil 优雅实现 notifyDataSetChanged\n- 运用 Kotlin 语法糖，精简代码\n\n\n\n\n### 已实现的功能\n- 专栏内容阅读\n\n- 添加自定义专栏\n\n- 删除自定义专栏\n\n- 自定义主题颜色\n\n- 仿知乎动态切换夜间模式（无需recreate）\n\n- 集成 Farbic 自动上传奔溃 log，方便开发者发现 bug\n\n  ​\n\n\n\n### 待实现的功能\n- 收藏夹\n\n- 清除缓存\n\n  ​\n\n\n\n### 更新日志\n```\n2018-2-7\n完成 Kotlin 版本\n\n2017-12-17\n更新 RxJava 2，Glide 4\n集成 Fabric SDK \n\n2017-12-7\n使用 Android Architecture Components 架构，移除 MVP 架构，告别繁琐的接口调用\n使用 Room 操作 SQL\n\n2017-7-13\n添加夜间模式(仿知乎)\n\n2017-7-11\n引入 Dagger2 \n\n2017-6-8\n封装加载更多, Diff等\n\n2017-6-7\n引入 MultiTypeAdapter, DiffUtil\n\n2017-5-5\n引入 RxLiftcycle\n\n2017-5-2\n增加缓存机制\nGradle 差异化构建\n\n2017-4-25\n引入 Retrofit, RxJava\n\n2017-4-22\n重启项目\n```\n\n\n\n### API\n\n[数据来源](https://github.com/shanelau/zhihu)  \n\n\n\n### 截图\n\n\u003cimg src=\"/screenshots/daily_1.gif\" width=\"360\" height=\"640\"/\u003e\n\u003cimg src=\"/screenshots/daily_2.gif\" width=\"360\" height=\"640\"/\u003e\n\u003cimg src=\"/screenshots/daily_3.gif\" width=\"360\" height=\"640\"/\u003e\n\u003cimg src=\"/screenshots/daily_4.gif\" width=\"360\" height=\"640\"/\u003e\n\n\n\n### 下载\n\n[GitHub Release](https://github.com/iMeiji/Daily/releases)\n\n\n\n### 编译\n\n1. 导入项目\n2. 复制 `fabric.properties.example` 并重命名为 `fabric.properties`\n3. 运行项目\n\n\n\n\n### 开源库\n\n- [Android Support Libraries](https://developer.android.com/topic/libraries/support-library/index.html)\n- [Android Architecture Components](https://developer.android.com/topic/libraries/architecture/index.html)\n- [Material Dialogs](https://github.com/afollestad/material-dialogs)\n- [OkHttp](https://github.com/square/okhttp)\n- [Gson](https://github.com/google/gson)\n- [Glide](https://github.com/bumptech/glide)\n- [CircleImageView](https://github.com/hdodenhof/CircleImageView)\n- [LicensesDialog](https://github.com/PSDev/LicensesDialog)\n- [Retrofit](https://github.com/square/retrofit)\n- [PersistentCookieJar](https://github.com/franmontiel/PersistentCookieJar)\n- [RxJava](https://github.com/ReactiveX/RxJava)\n- [RxAndroid](https://github.com/ReactiveX/RxAndroid)\n- [MultiType](https://github.com/drakeet/MultiType)\n- [Dagger 2](https://github.com/google/dagger)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimeiji%2Fdaily","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimeiji%2Fdaily","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimeiji%2Fdaily/lists"}