# GeekNews
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
GeekNews, A pure reading App based on Material Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm + Glide
极客日报,一款纯粹的阅读App,基于Material Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm + Glide
出于学习的目的做了这款Material Design风格的简洁的阅读应用,基本涵盖了当前Android端开发最常用的主流框架,阅读内容主要面向程序员/极客,目前包括:
[知乎日报](http://daily.zhihu.com/) — 汇集知乎上的热门话题与新鲜事,板块众多
[微信精选](http://www.tianapi.com/#wxnew) — 汇集微信上的海量精选新闻资讯,支持搜索
[干货集中营](http://gank.io/) — 或许是国内第三方客户端最多的干货分享地,内含福利
[稀土掘金](https://gold.xitu.io/) — 目前最火热的技术分发平台
[V2EX](https://www.v2ex.com/) — 一个关于分享和探索的地方,创意工作者们的社区
<br/>
<b>tips:</b>
* 本项目还在测试阶段,发现bug或有好的建议欢迎[issue](https://github.com/codeestX/GeekNews/issues)、email(codeest.dev@gmail.com)、PR
* IDE提示缺少Dagger开头的Class直接编译即可,会由Dagger2自动生成
* 本项目仅做学习交流使用,API数据内容所有权归原作公司所有,请勿用于其他用途
### Preview
![](https://github.com/codeestX/GeekNews/raw/master/screenshots/GIF1.gif)
![](https://github.com/codeestX/GeekNews/raw/master/screenshots/GIF2.gif)
![](https://github.com/codeestX/GeekNews/raw/master/screenshots/GIF3.gif)
<img src="screenshots/PNG1.png" width = "40%" />
<img src="screenshots/PNG2.png" width = "40%" />
<img src="screenshots/PNG3.png" width = "40%" />
<img src="screenshots/PNG4.png" width = "40%" />
<img src="screenshots/PNG5.png" width = "40%" />
### [Download APK](http://fir.im/xt2f)
(Android 5.0 or above)
![](https://github.com/codeestX/GeekNews/raw/master/screenshots/download.png)
## Points
* 使用RxJava配合Retrofit2做网络请求
* 使用RxUtil对线程操作和网络请求结果处理做了封装
* 使用RxPresenter对订阅的生命周期做管理
* 使用RxBus来方便组件间的通信
* 使用RxJava其他操作符来做延时、轮询、转化、筛选等操作
* 使用okhttp3对网络返回内容做缓存,还有日志、超时重连、头部消息的配置
* 使用Material Design控件和动画
* 使用MVP架构整个项目,对应于model、ui、presenter三个包
* 使用Dagger2将M层注入P层,将P层注入V层,无需new,直接调用对象
* 使用Realm做阅读记录和收藏记录的增、删、查、改
* 使用Glide做图片的处理和加载
* 使用Fragmentation简化Fragment的操作和懒加载
* 使用RecyclerView实现下拉刷新、上拉加载、侧滑删除、长按拖曳
* 使用x5WebView做阅览页,比原生WebView体验更佳
* 使用SVG及其动画实现progressbar的效果
* 使用RxPermissions做6.0+动态权限适配
* 使用Jsoup解析V2EX站点DOM
* 使用原生的夜间模式、分享、反馈
* 包含搜索、收藏、检测更新等功能
* 所有踩到的坑都在项目里做了注释
## Version
### V1.3.0
1.新增 [V2EX](https://www.v2ex.com/)板块
2.修复 部分已知BUG
3.调整 使用[Bugly](https://bugly.qq.com)做Crash收集,使用[RxPermissions](https://github.com/tbruyelle/RxPermissions)替换EasyPermissions
### V1.2.0
1.新增 [稀土掘金](https://gold.xitu.io/)板块
2.修复 部分已知BUG
### V1.1.0
1.使用 SVG动画替换了部分progressbar<br>
2.使用 [EasyPermissions](https://github.com/googlesamples/easypermissions)来做6.0+动态权限适配<br>
3.新增 版本更新检测、支付宝打赏<br>
4.调整 部分界面UI<br>
5.修复 部分已知BUG
### V1.0.1
1.感谢 [@kingkingruan](https://github.com/kingkingruan) 提出的过去切回今天日期未更新的bug,已修复<br>
2.使用 [x5WebView](http://x5.tencent.com/doc?id=1001) 替换原生WebView,更快更稳定<br>
3.更新微信精选API,免费次数貌似用完了...
### V1.0.0
1.提交第一版
## Thanks
### API:
[知乎日报API](https://github.com/izzyleung/ZhihuDailyPurify/wiki/%E7%9F%A5%E4%B9%8E%E6%97%A5%E6%8A%A5-API-%E5%88%86%E6%9E%90) [微信精选API](http://www.tianapi.com/#wxnew) [干货集中营API](http://gank.io/api) [V2EX-API](https://github.com/djyde/V2EX-API)
稀土掘金API为本人抓包获取,将掘金板块接入该应用有征得官方同意
### APP:
[Hot](https://github.com/zj-wukewei/Hot) 提供了Dagger2配合MVP的架构思路
[知了日报](https://github.com/HotBitmapGG/RxZhiHu) 提供了部分设计思路
还参考了很多大神的类似作品,感谢大家的开源精神
### RES:
[iconfont](http://www.iconfont.cn/) 提供了icon素材
[material UP](http://www.material.uplabs.com/) 提供了Material Design风格的素材
### LIB:
#### UI
* [MaterialCalendarView](https://github.com/prolificinteractive/material-calendarview)
* [MaterialSearchView](https://github.com/MiguelCatalan/MaterialSearchView)
* [PhotoView](https://github.com/chrisbanes/PhotoView)
* [multiline-collapsingtoolbar](https://github.com/opacapp/multiline-collapsingtoolbar)
* [glide-transformations](https://github.com/wasabeef/glide-transformations)
* [html-textview](https://github.com/SufficientlySecure/html-textview)
#### RX
* [RxJava](https://github.com/ReactiveX/RxJava)
* [RxAndroid](https://github.com/ReactiveX/RxAndroid)
* [RxPermissions](https://github.com/tbruyelle/RxPermissions)
#### NETWORK
* [Retrofit](https://github.com/square/retrofit)
* [OkHttp](https://github.com/square/okhttp)
* [Glide](https://github.com/bumptech/glide)
* [Gson](https://github.com/google/gson)
* [Jsoup](https://github.com/jhy/jsoup)
#### DI
* [Dagger2](https://github.com/google/dagger)
* [ButterKnife](https://github.com/JakeWharton/butterknife)
#### FRAGMENT
* [Fragmentation](https://github.com/YoKeyword/Fragmentation)
#### LOG
* [Logger](https://github.com/orhanobut/logger)
#### DB
* [Realm](https://github.com/realm/realm-java)
#### CANARY
* [BlockCanary](https://github.com/markzhai/AndroidPerformanceMonitor)
* [LeakCanary](https://github.com/square/leakcanary)
## License
Copyright (c) 2016 codeestX
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
没有合适的资源?快使用搜索试试~ 我知道了~
Material Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm + G...
共350个文件
java:194个
xml:83个
webp:45个
需积分: 9 7 下载量 165 浏览量
2018-05-11
16:18:21
上传
评论
收藏 24.12MB ZIP 举报
温馨提示
一款纯粹的阅读App,基于Material Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm + Glide 非常适合初学者学习。代码工整,适合研究
资源推荐
资源详情
资源评论
收起资源包目录
Material Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm + Glide (350个子文件)
gradlew.bat 2KB
GIF2.gif 8.04MB
GIF1.gif 7.81MB
GIF3.gif 7.09MB
.gitignore 87B
.gitignore 7B
config.gradle 4KB
build.gradle 4KB
build.gradle 691B
settings.gradle 15B
gradlew 5KB
tbs_sdk_thirdapp_v2.2.0.1096_36549_sharewithdownload_withoutGame_obfs_20160830_211645.jar 270KB
gradle-wrapper.jar 52KB
ACache.java 27KB
MainActivity.java 11KB
FlowLayout.java 10KB
LikeAdapter.java 10KB
TechDetailActivity.java 9KB
ZhihuDetailActivity.java 9KB
DataManager.java 8KB
DailyPresenter.java 8KB
GoldListAdapter.java 8KB
CircularAnimUtil.java 8KB
DailyListBean.java 8KB
TechPresenter.java 8KB
CircleImageView.java 7KB
NodeListBean.java 7KB
RetrofitHelper.java 7KB
DailyAdapter.java 7KB
HttpModule.java 7KB
SectionChildListBean.java 7KB
CommentAdapter.java 6KB
ThemeChildListBean.java 6KB
SystemUtil.java 6KB
RxUtil.java 6KB
DailyBeforeListBean.java 6KB
DailyFragment.java 6KB
VtexPresenter.java 6KB
NodeListAdapter.java 6KB
TechFragment.java 5KB
SettingFragment.java 5KB
DateUtil.java 5KB
GirlDetailActivity.java 5KB
DefaultItemTouchHelpCallback.java 5KB
RepliesActivity.java 5KB
ThemeActivity.java 5KB
RepliesAdapter.java 5KB
MainPresenter.java 5KB
WechatPresenter.java 5KB
GirlAdapter.java 4KB
GirlFragment.java 4KB
Constants.java 4KB
CommentBean.java 4KB
ThemeListBean.java 4KB
RealmHelper.java 4KB
GoldPagerFragment.java 4KB
LikeFragment.java 4KB
AppBlockCanaryContext.java 4KB
SectionActivity.java 4KB
GankMainFragment.java 4KB
RootFragment.java 3KB
App.java 3KB
SectionChildAdapter.java 3KB
RootActivity.java 3KB
GoldPresenter.java 3KB
HttpHelper.java 3KB
TechAdapter.java 3KB
GoldMainFragment.java 3KB
HotFragment.java 3KB
WechatMainFragment.java 3KB
SectionAdapter.java 3KB
ImplPreferencesHelper.java 3KB
TopicAdapter.java 3KB
GoldMainPresenter.java 3KB
ZhihuDetailPresenter.java 3KB
NodeAdapter.java 3KB
HotAdapter.java 3KB
WechatAdapter.java 3KB
NodeActivity.java 3KB
AlipayUtil.java 3KB
ThemeChildAdapter.java 3KB
ThemeAdapter.java 3KB
ZhihuApis.java 3KB
RepliesPresenter.java 3KB
ThemeFragment.java 3KB
ZhihuDetailBean.java 3KB
InitializeService.java 3KB
CrashHandler.java 3KB
CommentActivity.java 3KB
GoldManagerActivity.java 3KB
NodeListActivity.java 3KB
HtmlUtil.java 2KB
UpdateService.java 2KB
VtexPagerFragment.java 2KB
TopPagerAdapter.java 2KB
SettingPresenter.java 2KB
RepliesListBean.java 2KB
SectionFragment.java 2KB
GoldListBean.java 2KB
GoldManagerAdapter.java 2KB
共 350 条
- 1
- 2
- 3
- 4
资源评论
heyachen
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功