Giter Club home page Giter Club logo

ganks's Introduction

gankS

这是一个采用MVP+Retrofit+RxJava的实战项目! 使用了有道翻译的Api以及GankIo的Api,非常感谢开源人对初学者的帮助!

应用截图

简单介绍

1、网络层采用Retrofit加RxJava的模式,访问的接口在这里-->http://gank.io/api

2、图片加载使用的是Glide加载。

3、使用PhotoView进行大图展示,第一次使用感觉就像是另一个imageview那么好用。

4、WebView方面还在学习,使用的是android自带的WebView。

5、整个界面风格比较简约,使用android的CoordinatorLayout结合ToolBar和FloatingActionButton做动态布局,主题切换采用的是淡进淡出的效果。

6、使用RecycleView+CardView解析接口中获取的json数据并展示。

7、下拉刷新使用的是系统的SwipeRefreshLayout,上拉加载是以添加装饰的方式放在在Recycle的Adapter中。

8、翻译小工具,存在只是为了不让这个应用太单一。使用的接口是有道翻译的api,戳我拿api

9、整个app使用MVP模式加上对recycleview的抽取,让逻辑神马的变得非常简单,根本没有初学时那么复杂了!很棒啊!

其他

我的CSDN blog:潜水的沙

License

/*
 * Copyright (C) 2016 ahmclishihao
 *
 * GankS is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * GankS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with GankS.  If not, see <http://www.gnu.org/licenses/>.
 */

ganks's People

Contributors

lsh-atom avatar

Watchers

 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.