Giter VIP home page Giter VIP logo

banya's Introduction

#banya 瓣呀 介绍: ###优酷视频演示: 点击观看app演示视频

###项目介绍:

  • 整体采用material design 风格,本人是网易云音乐的粉丝,所以界面模仿了网页云音乐,另外,项目中尽量使用了5.0之后的新控件。

  • 项目整体采用mvp+rxjava+retrofit 框架,使用glide进行图片展示,用butterknif注解,另外使用了java 8 新特性,拉姆达表达式,安卓原生并不支持,需要导插件,具体见项目。

  • 并对retrofit的okhttpClient进行了缓存配置,很遗憾,豆瓣API在服务端并没有对返回数据进行Cache-Control 设置。

  • 后续会采用本地数据库对数据进行缓存,初步定为使用realm。

  • 项目地址:https://github.com/forezp/banya

  • 这是我的一个利用课余时间做的一个项目,仅供娱乐,项目的一切数据来自豆瓣api v2.0,一切数据归豆瓣所有。

  • star一下吧,拜托了。

###主界面:

  • 主界面采用material design 设计风格,使用了NavigationView和DrawerLayout的抽屉效果,CoordinatorLayout和viewpager 配合,使用behavior属性,对toolbar的显示和隐藏进行了控制。使用了tablayout和viewpager配合,切换fragment,整体风格类似于网易云音乐。
  • 用到的豆瓣API有热映榜、top250、搜索图书、搜索音乐,等。

图片名称 图片名称 图片名称 图片名称

抽屉界面:

抽屉界面使用到的icon来自google 的开源icon库,material design icon 地址:点击进入 ,看来谷歌为material design 花费了大量的精力,然而,一般的项目组都是ios的设计风格,让android去开发,作为一名安卓开发者,感觉到非常的不幸,为什么好的东西不能被产品和设计接受。

图片名称

项目中使用了webview 进行展示

图片名称

### 感谢
  • 感谢豆瓣开放测试api。
  • 感谢开源项目 gank.io
  • 同时项目也借鉴了其他的开源项目,感谢。
  • 同时希望可以帮助到其他人。

关于我

见图: 希望能认识一些趣味相投的人一起进步

图片名称

Contatct Me:

banya's People

Contributors

forezp avatar

Watchers

James Cloos avatar  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.