{"id":15027911,"url":"https://github.com/newbiechen1024/novelreader","last_synced_at":"2025-05-15T20:05:46.536Z","repository":{"id":39817591,"uuid":"92384718","full_name":"newbiechen1024/NovelReader","owner":"newbiechen1024","description":"仿照\"任阅\"的追书、看书的小说阅读器。重写\"任阅\"的代码，优化代码逻辑和代码结构，降低内存使用率。重写小说阅读器，支持网络阅读、本地阅读(支持分章，虚拟分章)。支持仿真翻页、上下滚动翻页等翻页效果。支持小说断点续传功能。优化用户使用体验。","archived":false,"fork":false,"pushed_at":"2020-03-15T02:54:51.000Z","size":12906,"stargazers_count":1744,"open_issues_count":57,"forks_count":555,"subscribers_count":81,"default_branch":"master","last_synced_at":"2025-05-15T20:05:31.558Z","etag":null,"topics":["android","book","greendao","lambda","mvp","reader","rxjava"],"latest_commit_sha":null,"homepage":"","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/newbiechen1024.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":"2017-05-25T08:58:14.000Z","updated_at":"2025-05-15T02:28:38.000Z","dependencies_parsed_at":"2022-08-09T15:38:21.868Z","dependency_job_id":null,"html_url":"https://github.com/newbiechen1024/NovelReader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbiechen1024%2FNovelReader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbiechen1024%2FNovelReader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbiechen1024%2FNovelReader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbiechen1024%2FNovelReader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newbiechen1024","download_url":"https://codeload.github.com/newbiechen1024/NovelReader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414499,"owners_count":22067272,"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","book","greendao","lambda","mvp","reader","rxjava"],"created_at":"2024-09-24T20:07:16.651Z","updated_at":"2025-05-15T20:05:41.410Z","avatar_url":"https://github.com/newbiechen1024.png","language":"Java","readme":"# NovelReader\n\n基于\"任阅\"的改进追书App。\n\n详见原作者项目地址:[任阅](https://github.com/JustWayward/BookReader)\n\n# 应用简介\n\n相对于原作增加的功能与改进:\n\n1. 重写代码逻辑，优化代码结构，降低内存使用率\n2. 采用 sql 数据库对数据进行存储。 (原作者是采用ACache类将数据修改成文本存储)\n3. 增加书本的断点续传功能 (仅支持单任务下载)\n4. 支持小说更新提示。\n5. 重写小说阅读器,仿掌阅设计。提供的功能如下\n\n   * 支持翻页动画:仿真翻页、覆盖翻页、上下滚动翻页等翻页效果。\n   * 支持页面定制:亮度调节、背景调节、字体大小调节\n   * 支持全屏模式(含有虚拟按键的手机)、音量键翻页\n   * 支持页面进度显示、页面切换、上下章切换。\n   * 支持在线章节阅读、本地书籍查找。\n   * 支持本地书籍加载到页面(支持本地书籍分章、加载速度快、耗费内存少)\n\n**注: 在弄新项目，该项目不定时维护更新。**\n\n# 采用了以下开源框架\n\n* [butterknife](https://github.com/JakeWharton/butterknife)    ==\u003e    View注入\n* [rxandroid](https://github.com/ReactiveX/RxAndroid)\n* [rxjava](https://github.com/ReactiveX/RxJava)\n* [greenDAO](https://github.com/greenrobot/greenDAO)    ==\u003e    数据库\n* [retrofit](https://github.com/square/retrofit)  ==\u003e 网络\n* [Glide](https://github.com/bumptech/glide)    ==\u003e    图片加载\n* [retrolambda](https://github.com/orfjackal/retrolambda)    ==\u003e    在AndroidStudio3.0以下版本支持Lambda\n* [treader](https://github.com/PeachBlossom/treader)    ==\u003e    小说阅读页面的切换动画及整体架构都来自这个项目。\n* [AndroidTagGroup](https://github.com/2dxgujun/AndroidTagGroup)    ==\u003e    标签效果\n# 应用展示\n\n![](https://github.com/newbiechen1024/NovelReader/blob/master/screenshot/reader.gif)\n\n![](https://github.com/newbiechen1024/NovelReader/blob/master/screenshot/load_local_file.gif)\n\n![](https://github.com/newbiechen1024/NovelReader/blob/master/screenshot/download.gif)\n\n# 更新记录\n\n**update 2020-03-15**\n\n* 更新三方库\n* Android 8.0 以上禁止使用 DownloadService (暂时没空适配)\n* Android 9.0 SimulationPageAnim 崩溃\n\n**update 2018-03-03**\n\n* 修复：内存泄露\n* 修复：一些细节 BUG\n* 优化：页面加载细节\n\n感谢小伙伴的提交和修复。\n\n**update 2018-02-22**\n\n* 重构：PageLoader 类的逻辑，提高代码的可读性。\n* 修复：翻页到正在加载章节，无法翻页的问题。\n* 优化：对于从网络加载章节的逻辑。\n\n注：剩下的问题会尽快修复。\n\n**update 2018-01-04**\n\n* 修复：加载本地书籍导致的 OOM 问题：[原因比较坑爹](https://github.com/newbiechen1024/NovelReader/issues/26)\n* 修改：重新修改了智能搜索本地书籍的办法(采用 LoaderManager + Android 媒体库，不会只扫描三级目录了)\n\n**update 2018-01-06**\n\n* 智能搜索书籍过慢的问题(采用 eric0815 建议，只扫描三级目录)\n* 提供本地章节加载缓存。\n* 提升数据库索引性能(将本地路径作为 id，改成使用 MD5生成 16 位字符串的方式)\n* 提供数据库更新策略，不需要卸载在安装。\n* 修复，第一次安装进入会崩溃的问题。\n\n**update 2017-11-05**\n\n* 添加每章标题显示\n* 修改每页的排版\n\n注:由于现在 IDEA 升级到了 AS 3.0 了。没有升级的同学，可能造成编译错误。或者 lambda 表达式不能使用的问题。解决方法是：\n\n```gradle\n# lambda 错误的解决办法。\n# 在项目的 build.gradle 顶部添加\n\napply plugin: 'me.tatarka.retrolambda'\n```\n\n**update 2017-10-24**\n\n* 修复上下滑动，手指只能移动一小段距离的 bug。\n* 修复上下滑动时，存在页面重复显示的问题。","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewbiechen1024%2Fnovelreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewbiechen1024%2Fnovelreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewbiechen1024%2Fnovelreader/lists"}