Rain9155 WanAndroid Save

:muscle: WanAndroid网站的android版本客户端

Project README

WanAndroid

WanAndroid,一款基于MVP + Rxjava2 + Dagger2 + Retrofit + Material Design的应用, 欢迎大家start、fork!

Features

  • 首页
  • 知识体系
  • 公众号
  • 导航
  • 项目
  • 搜索,热词搜索,搜索记录
  • 登录、注册、注销
  • 我的收藏、取消收藏、添加收藏
  • 文章内容,分享文章
  • 夜间模式,沉浸式切换,清除缓存
  • 应用内检查更新
  • 多语言支持
  • ...

Tips

Preview


wan1 wan2

wan3 wan4

Screenshots


sc2 sc3 sc4 sc5 sc6 sc7 sc8 sc9 sc10 sc11

Download (v1.7, Android 4.4 or above)

点击下载apk

Points And Reference

1、Rxjava2配合Retrofit进行网络请求

2、Rxjava2与Retrofit的封装使用

3、Retrofit配合Cookie实现免登陆与实现离线缓存

4、用Rxjava2实现轻量级的EventBus

5、依赖注入实现,配合MVP模式

6、使用了MD控件和动画

7、自定义Behavior(俩种实现)

8、使用原生的夜间模式,并切换自然

9、实现了Fragment的操作和懒加载

10、使用DownloadManager实现应用更新

11、使用Fragment代理权限申请,减少重复代码的编写

12、封装视图状态逻辑切换,让视图状态切换更简单

13、努力兼容与适配Android版本

14、集成腾讯Bugly与LeakCanary,更容易找出bug与内存泄漏

  • 参考官方文档

以上是项目中的主要亮点和我做项目时参考的文章,当然对于一些主流的框架官方文档中也有详细的介绍,更多细节可以查看项目具体代码。

Thanks

TODO

ChangeLog

v1.7 2022-1-24
1、适配android 10的暗黑模式和作用域存储
2、修复一些问题

v1.6 2019-9-22
1、 添加个人积分、积分排行榜
2、 优化夜间切换,修复一些问题
3、 移除WaveLoadingView库
4、 封装Loading,统一视图切换

v1.5 2019-3-27
1、Wnadroid接口从http转为https
2、使用Fragment代理申请权限

v1.4 2019-2-23
1、修复v1.3登陆失败问题
2、添加更换头像背景功能
3、修复7.0以上不能在项目中传递file://格式的uri导致的异常(FileUriExposedException)

v1.3 2018-12-31
1、添加文章长按
1、修复一些bug
1、添加文章标签

v1.2 2018-12-24
1、增加公众号模块
2、集成bugly
3、移除Fragmentation库
4、更新版本更新弹窗

v1.1 2018-12-15
1、优化夜间切换
2、加入沉浸切换
3、加入缓存清理
4、增加活动过渡动画
5、5.0以上增加波纹点击效果,5.0以下增加触摸反馈
6、增加应用内检查更新
7、登陆持久化

v1.0 2018-12-1
第一版发布

End

本项目只用作学习用途,不做其他用途

License

Copyright 2018 rain9155

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 a

          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.
 
Open Source Agenda is not affiliated with "Rain9155 WanAndroid" Project. README Source: rain9155/WanAndroid
Stars
50
Open Issues
0
Last Commit
1 month ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating