Giter Site home page Giter Site logo

qnews's Introduction

这是我的提交记录:

新闻提交记录.PNG

提交记录.PNG

这个项目从头到尾是我一个人默默撸出来的,很心酸,可能有些代码写的不是很好,请见谅。这个项目虽然小,但是也遇到了很多bug,欣慰的是,最后都解决了,我想这是程序猿最大乐趣了。

我通过一下目录进行项目的演示:

1. 整体风格和个人页面

*整体采用的是Material Design风格,看起来好看一点* ![整体风格.gif](http://upload-images.jianshu.io/upload_images/4043475-eb1932393eedabec.gif?imageMogr2/auto-orient/strip) >如果觉得还行,请给个star吧

2. 跳转界面

![跳转界面.gif](http://upload-images.jianshu.io/upload_images/4043475-f8fdb6021cf5d558.gif?imageMogr2/auto-orient/strip) >这个就是属性动画(translationX + translationY)

3. 新闻模块

![新闻模块.gif](http://upload-images.jianshu.io/upload_images/4043475-19e7b7c64e0989fc.gif?imageMogr2/auto-orient/strip)

数据来源: 聚合数据

网络框架: okhttp

图片框架: Glide

4. 段子模块

![段子模块.gif](http://upload-images.jianshu.io/upload_images/4043475-672753f228c57c18.gif?imageMogr2/auto-orient/strip) >支持下拉刷新,上拉加载更多

5. 趣图模块

*这个是个小彩蛋,在段子界面,在点击一下段子就会跳转到趣图模块* ![趣图模块.gif](http://upload-images.jianshu.io/upload_images/4043475-811a7bef92721664.gif?imageMogr2/auto-orient/strip) >这里是随机从服务器中获取趣图,有时候也会有动态图

6. 历史上的今天模块

*这部分我觉得既好玩,又很有意义* ![历史上的今天.gif](http://upload-images.jianshu.io/upload_images/4043475-2a88baf13919023b.gif?imageMogr2/auto-orient/strip) >说实话,我还挺喜欢叶圣陶的。

其实点进去上面是viewpager展示图片的,但是不知道怎么搞得,聚合数据图片不提供了,也是醉了。

7. 图灵机器人模块

![图灵机器人.gif](http://upload-images.jianshu.io/upload_images/4043475-8858ce0eaeda160f.gif?imageMogr2/auto-orient/strip) >闲来没事,单身狗可以玩一下,嘻嘻...

8. 主题切换以及夜间模式

![换肤.gif](http://upload-images.jianshu.io/upload_images/4043475-211cf778e95c0898.gif?imageMogr2/auto-orient/strip) >我用采用的方式比较简单,就是直接setTheme(int resId)方式,网上有一些好的实现方式,不妨上网搜一下。

9. 用到的第三方开源库

1. 数据来源: [聚合数据](https://www.juhe.cn/docs) 2. 标题来源: [艺术字生成](http://www.akuziti.com/) 3. 小图标来源: [阿里适量图](http://www.iconfont.cn/) 4. 图片加载框架: [Glide](https://github.com/bumptech/glide) 5. 网络请求框架: [鸿洋大神的okhttputils](https://github.com/hongyangAndroid/okhttputils) 6. view注解框架: [butterknife](https://github.com/JakeWharton/butterknife) 7. 基类适配器: [BaseRecyclerViewAdapterHelper](https://github.com/CymChad/BaseRecyclerViewAdapterHelper) 8. 指示器: [MagicIndicator](https://github.com/hackware1993/MagicIndicator) 9. 底部栏: [BoomMenu](https://github.com/Nightonke/BoomMenu)

qnews's People

Contributors

xiaweizi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.