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.5 KiB
3.5 KiB
Reader
一款开源小说阅读软件📕,借鉴阅读3.0,采用 Jetpack + 协程实现的 MVVM 架构。Kotlin+AndroidX编写,支持TTS听书、章节缓存、字体切换、繁简转换、黑夜模式、各种翻页(仿真、滚动、滑动、覆盖、无动画)、插页图片加载等。对比old分支:
重写代码,优化阅读器代码结构,Md设计风格
sql分层处理,MVVM架构
语音朗读、插画、国际化、黑夜模式等功能都进行了实现
使用AndroidX控件,对刘海屏等异形屏幕有了很好的支持
注:
1.(主分支ip被墙了!出不来数据请自行开VPN,old的IP没被封但代码写的不太好)
2.想看java代码就去看old分支,old分支虽然也是kotlin,但old分支之前是用Java编写,之后用studio一键转的Kotlin代码,没有kotlin特有的语法糖之类 更容易懂。
3.欢迎大家提问题。本人一定尽快修复
使用技术
Kt、AndroidX、Retrofit、Okhttp3、Glide、LitePal、MVVM、协程等
TIP
- 当前书源为(自己爬的)轻小说书源,书中大多带了插图。
- 服务器在美国,所以国内监管比较严的时候可能需要翻墙或切换网络去多尝试几次。(2021.2,主分支ip被墙了,必须开VPN了/(ㄒoㄒ)/~~)
- 供大家学习使用。
项目截图
LICENSE
Copyright (C) zhaolijun, Open source codes for study only.
Do not use for commercial purpose.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.