Giter Site home page Giter Site logo

mvpapp's Introduction

MvpApp

练习MVP架构开发的App,算是对自己学过的知识做一个总结,做了有一段时间,界面比较多,代码量还是有的,里面做了大量封装,整体代码整理得很干净,这个我已经尽力整理了- -。

Screenshot

项目结构:

应用截图:

主页

新闻主页

新闻详情

专题

栏目管理

图片新闻

图片列表

大图

下载管理

视频播放

图片动图

下载管理

用到的第三方库

  • leakcanary :检测应用内存泄漏问题,这个都知道吧
  • butterknife :帮助Android控件和回调的进行依赖注入,JakeWharton大神的力作
  • dagger2 :Android和Java依赖注入库
  • rxjava :一个实现异步操作的库,现在非常火
  • RxAndroid :用于Android的Rxjava绑定库
  • RxBinding :配合Rxjava处理控件异步调用
  • RxLifecycle :防止RxJava中subscription导致内存泄漏
  • RxPermissions :基于RxJava开发的用于帮助在Android 6.0中处理运行时权限检测
  • retrofit :目前最好用的网络通讯库,应该都用过吧
  • okhttp :okhttp和retrofit做网络通讯是绝配
  • greenDAO :ORM数据库,能配合rxjava使用
  • logger :Log库,让打印的Log变得非常漂亮
  • glide :Google出品的图片加载库,这里有非常好的指导文档:https://mrfu.me/2016/02/27/Glide_Getting_Started/
  • BaseRecyclerViewAdapterHelper :很好用的RecyclerView多功能适配器库,项目里我并没有直接用这个库,而是按我自己使用习惯在它较早的代码上做了些改动
  • recyclerview-animators :RecyclerView的动画库,内置了非常多的动画效果
  • CircleImageView :非常常用的用来显示圆形头像的库
  • PhotoView :可根据手势进行缩放的图像库,这个也很常见
  • AndroidImageSlider :展示头部Banner的库,动画效果很多,就是需要依赖picasso和nineoldandroids这两个库
  • NumberProgressBar :性感的数字进度条
  • FlycoTabLayout :样式比TabLayout多样的Tab库
  • FlycoDialog :多功能的Dialog
  • FlycoLabelView :添加角标的库
  • gson :帮助Json和Object转换,这个也常用
  • fastjson :功能同gson,有些地方gson不能处理可以试试这个,阿里巴巴出品
  • ijkplayer :B站出品的视频解码库
  • DanmakuFlameMaster :同样B站出品的弹幕库
  • ShineButton :炫酷效果的点击按钮,主要用于显示收藏之类的动画
  • RichText :富文本的处理库,用起来挺方便就是有内存泄漏- -
  • Android-SpinKit :集成多种动画效果的Drawable,之前有看源码觉得代码封装得挺好,动画不仅仅只能用在View上
  • filepicker :这个是用来处理PreferenceScreen的文件选中库,PreferenceScreen感觉平时不怎么看到使用,用法到时挺特别
  • tinker :微信Android热补丁方案,功能强大,和其它热修补方案对比看这里wiki
  • DragSlopLayout :一个辅助开发拖拽功能的库,这是我为了做这个App的某些功能封装的库- -,现在倒也有用在工作的项目上
  • IjkPlayerView :基于ijkplayer开发的播放器,也是为了做这个App的视频播放功能封装的库- -,里面加了弹幕功能,感兴趣可以看下
  • TagLayout :这个库代码有点厚重,有时间再重构下

Thanks

  • 感谢所有优秀的开源项目
  • OuNews :最初是看了这个项目才开始做的,学了不少东西

mvpapp's People

Contributors

rukey7 avatar

Watchers

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