Giter Site home page Giter Site logo

juhenews's Introduction

JuheNews系列之一 · 前言

做安卓两年多,技术日新月异,虽然每天都在敲代码,但是感觉其实一直都是用的5.0及以前的那些控件、特效、风格。

今天是2016年5月26日,Android N发布已经一周了,什么Material Design,什么mvp、mvvm、data binding,之前统统都没用过,回头想想,觉得作为一个安卓程序员真是失败啊。

前段时间研究MVP模式时,发现了一个不错的项目SimpleNews。

文章地址:http://www.cnblogs.com/liuling/archive/2015/12/23/mvp-pattern-android.html

GitHub链接:https://github.com/liuling07/SimpleNews

抱着学习的心态把它clone下来研究了几天,然后自己也照着里面的代码实现了一个。

听上去大家可能会觉得我好像只是复制粘贴,然后换了几个api而已。我想说其实不是,虽然我也会看原来项目的那些实现,但是我更多的是看他用了哪些控件,然后我去百度那个控件的用法自己来实现。当然对于原来项目中我觉得写的好的实现我也会参考一下,毕竟是来向人家学习,我觉得没什么好丢脸的。

实现的过程中我也加入了自己的想法,让整个项目从里到外都变得更实用、好看。

似乎所有程序员都有开源的情节,原来看那些大牛的开源项目时,感觉很羡慕很佩服,他们不仅技术牛逼,而且愿意分享自己的知识,所以有时候我也会想什么时候能有自己的开源项目,能帮助别人一点也好。

这个项目虽然并没有多么牛逼的技术,更多的是对MVP和Material Design的理解和运用,不过也算是自己的一次尝试,每天埋头写代码但是没有分享和总结那不是成了代码机器了吗。

要说的就是这些了,后面我会对这个项目每个点来记录和总结下,以免以后要用的时候又去百度。

项目已经开源:

github链接:https://github.com/aishang5wpj/JuheNews

文章介绍: http://blog.csdn.net/aishang5wpj/article/details/51507059

下面是效果图。

AppBarLayout+ToolBar+DrawerLayout+NavigationView

image

TabLayout+ViewPager

image

SwipeRefershLayout下拉刷新+RecylerView上拉加载

image

RecyclerView+CardView

image

CoordinatorLayout+CollapsingToolbarLayout+NestedScrollView

image

关于

博客:http://blog.csdn.net/aishang5wpj

邮箱:[email protected]

License

Copyright 2016 aishang5wpj

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.

juhenews's People

Contributors

aishang5wpj avatar

Watchers

James Cloos avatar Jie's space 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.