|
@@ -0,0 +1,102 @@
|
|
|
+[![Platform][1]][2] [![GitHub license][3]][4] [![GitHub license][5]][6]
|
|
|
+
|
|
|
+[1]:https://img.shields.io/badge/platform-Android-blue.svg
|
|
|
+[2]:https://github.com/hegaojian/WanAndroid
|
|
|
+[3]:https://img.shields.io/github/release/hegaojian/WanAndroid.svg
|
|
|
+[4]:https://github.com/hegaojian/WanAndroid/releases/latest
|
|
|
+[5]:https://img.shields.io/badge/license-Apache%202-blue.svg
|
|
|
+[6]:https://github.com/hegaojian/WanAndroid/blob/master/LICENSE
|
|
|
+
|
|
|
+
|
|
|
+# WanAndroid
|
|
|
+一位练习长达两年半的安卓练习生根据鸿神提供的[WanAndroid开放Api](https://www.wanandroid.com/blog/show/2)来制作的产品级App,基本实现了所有的功能,采用Kotlin语言,基于Material Design+AndroidX + MVP + RxJava + Retrofit等优秀的开源框架开发
|
|
|
+
|
|
|
+如果你觉得做的还可以对你有帮助,**容我卑微地向你要个star**,有任何问题或建议,欢迎提交[issues](https://github.com/hegaojian/WanAndroid/issues)
|
|
|
+
|
|
|
+## 实现的功能
|
|
|
+
|
|
|
+- 首页五大模块:首页 / 项目 / 体系/ 公众号 / 我的
|
|
|
+- 登录注册功能
|
|
|
+- 导航功能
|
|
|
+- 搜索功能 热门搜索推荐 搜索历史记录
|
|
|
+- 积分功能 积分排行 积分获取记录
|
|
|
+- 收藏功能 收藏文章 收藏网址
|
|
|
+- 待办清单 添加清单 编辑清单 删除清单
|
|
|
+- 文章网址详情 详情中收藏 分享 浏览器打开
|
|
|
+- 全局修改应用主题色
|
|
|
+- 全局修改列表的加载动画
|
|
|
+- 侧滑返回 可打开与关闭
|
|
|
+- 文章在任何地方收藏与取消,其他界面相对应的数据也会变化
|
|
|
+- 布局优化,大量使用ConstraintLayout
|
|
|
+- 集成Bugly收集bug并实现App更新
|
|
|
+
|
|
|
+
|
|
|
+## 应用截图
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+## APP下载
|
|
|
+
|
|
|
+- [GitHub下载](https://github.com/hegaojian/WanAndroid/releases/download/1.0.0/app-release.apk)
|
|
|
+
|
|
|
+## 主要开源框架
|
|
|
+- [一个在 Java VM 上使用可观测的序列来组成异步的、基于事件的程序的框架-RxJava2](https://github.com/ReactiveX/RxJava)
|
|
|
+- [一个依赖注入框架-Dagger2](https://github.com/square/dagger)
|
|
|
+- [处理网络请求的框架-Okhttp](https://github.com/square/okhttp)
|
|
|
+- [一个基于OKHttp封装的网络加载框架-Retrofit](https://github.com/square/retrofit)
|
|
|
+- [转换json数据的官方框架-Gson](https://github.com/google/gson)
|
|
|
+- [Android的事件发布-Eventbus](https://github.com/greenrobot/EventBus)
|
|
|
+- [项目核心库MVP框架-MVPArms](https://github.com/JessYanCoding/MVPArms)
|
|
|
+- [屏幕适配AndroidAutoSize](https://github.com/JessYanCoding/AndroidAutoSize)
|
|
|
+- [一个美丽的、流体和可扩展的对话框-Material-dialogs](https://github.com/afollestad/material-dialogs)
|
|
|
+- [一个强大的Fragment管理库-Fragmentation](https://github.com/YoKeyword/Fragmentation)
|
|
|
+- [一个增强BottomNavigationView的安卓库-BottomNavigationViewEx](https://github.com/ittianyu/BottomNavigationViewEx)
|
|
|
+- [强大、可定制、易扩展的 ViewPager 指示器框架-MagicIndicator](https://github.com/hackware1993/MagicIndicator)
|
|
|
+- [一个强大的轮播库-BGABanner-Android](https://github.com/bingoogolapple/BGABanner-Android)
|
|
|
+- [一个强大并且灵活的RecyclerViewAdapter-BaseRecyclerViewAdapterHelper](https://github.com/CymChad/BaseRecyclerViewAdapterHelper)
|
|
|
+- [RecyclerView侧滑菜单,Item拖拽,滑动删除Item,自动加载更多,HeaderView,FooterView,Item分组黏贴-SwipeRecyclerView](https://github.com/yanzhenjie/SwipeRecyclerView)
|
|
|
+- [揭示效果布局-RevealLayout](https://github.com/goweii/RevealLayout)
|
|
|
+- [优雅地处理加载中,重试,无数据-Loadsir](https://github.com/KingJA/LoadSir)
|
|
|
+- [基于Android WebView的一个强大的库-Agentweb](https://github.com/Justson/AgentWeb)
|
|
|
+- [Android流式布局-FlowLayout](https://github.com/hongyangAndroid/FlowLayout)
|
|
|
+- [基于mmap内存映射的移动端通用 key-value 组件-MMKV](https://github.com/Tencent/MMKV)
|
|
|
+- [侧滑返回-SmartSwipe](https://github.com/luckybilly/SmartSwipe)
|
|
|
+
|
|
|
+## 素材来源
|
|
|
+- [阿里巴巴矢量图标库](http://www.iconfont.cn/)
|
|
|
+- 借鉴了[花瓣](https://huaban.com/)的登录页
|
|
|
+- [goweii](https://github.com/goweii/WanAndroid)项目中的App图标
|
|
|
+
|
|
|
+## 特别感谢
|
|
|
+- 感谢[鸿神](https://github.com/hongyangAndroid)的[WanAndroid网站提供的开放API](https://www.wanandroid.com/blog/show/2),我在issues提了一些自己的需求,鸿神也耐心的帮忙添加了,谢谢
|
|
|
+- 感谢[goweii](https://github.com/goweii/WanAndroid)老哥,这位老哥开发的App很优秀,使用了老哥的App图标,和收藏红心的控件
|
|
|
+
|
|
|
+# 更新日志
|
|
|
+
|
|
|
+## 1.0.0
|
|
|
+
|
|
|
+- 首次提交,大致完成功能,但存在一些问题,后期慢慢解决吧
|
|
|
+- 1.因为侧滑返回库的原因导致输入法弹出出现黑屏
|
|
|
+- 2.kotlin用的不是特别熟练,感觉很多地方还可以精简或者有其他更好的方案替代
|
|
|
+- 3.启动页因为考虑到要根据用户选择的主题色来动态显示,就没有设置纯色背景,所以会导致冷启动时会出现短暂白屏
|
|
|
+
|
|
|
+
|
|
|
+## License
|
|
|
+```
|
|
|
+Copyright 2019 hegaojian
|
|
|
+
|
|
|
+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.
|
|
|
+```
|