GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yjsapp/OuNews: 新闻阅读

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
changeskin
changeskin
 
 
daogenerator
daogenerator
 
 
gradle/wrapper
gradle/wrapper
 
 
pic
pic
 
 
vitamio
vitamio
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
exercise.jks
exercise.jks
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

OuNews 简单的新闻客户端

一、为什么写这个?

一直想练习MVP模式开发应用,把学习的RxJava、Retrofit等热门的开源库结合起来,于是写了这么一款新闻阅读软件, 有新闻、图片、视频三大模块,使用Retrofit和Okhttp实现无网读缓存,有网根据过期时间重新请求, 还有边缘或整页侧滑、夜间模式切换等小功能,还写了几个自定义小控件,虽然无啥卵用,但是学到了很多东西,很有收获。

二、运行截图

(图一) (图二)

(图三) (图四)

(图五) (图六)

(图七) (图八) (图九)

三、用到的开源库

  • Quick-News API来自此项目,特此感谢
  • RxJava 响应式编程框架
  • Retrofit2.0 REST安卓客户端请求库
  • OkHttp3 网络请求
  • Glide 图片加载
  • GreenDao 数据库操作
  • PhotoView 图片缩放
  • Vitamio 视频播放
  • AndroidChangeSkin 无需重启换肤
  • ......

感谢各位大神无私的开源精神。

四、一些零散的知识点

MVP模式代码学习
https://github.com/antoniolg/androidmvp

使用Retrofit和Okhttp实现网络缓存。无网读缓存,有网根据过期时间重新请求
http://www.jianshu.com/p/9c3b4ea108a7

Retrofit+RxJava实战日志(5)-如何获取缓存
http://blog.csdn.net/efan006/article/details/50549107

Drawable 着色的后向兼容方案
http://www.cnblogs.com/helloandroid/p/4779061.html

Java基础加强总结(一)——注解(Annotation)
http://www.cnblogs.com/xdp-gacl/p/3622275.html

Android实现RecyclerView侧滑删除和长按拖拽-ItemTouchHelper
http://blog.csdn.net/u010687392/article/details/47950199

基于RxJava、RxAndroid的EventBus实现
http://www.cnblogs.com/tiantianbyconan/p/4578699.html

深入浅出RxJava
http://blog.csdn.net/lzyzsd/article/details/41833541

五、声明

应用中展示的所有内容均搜集自互联网,若内容有侵权请联系作者进行删除处理。本应用仅用作分享与学习。

六、关于作者

微博:http://weibo.com/palfansinheart

CSDN博客:http://blog.csdn.net/oushangfeng123?viewmode=contents

About

新闻阅读

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.