GithubHelp home page GithubHelp logo

whysqwhw / supermvp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liuyanggithub/supermvp

0.0 2.0 0.0 13.68 MB

MVP新闻+美图大全+天气预报+Material+Rx+Retrofit+Glide+leakcanary+butterknife

Java 100.00%

supermvp's Introduction

SuperMvp

MVP + RxJava + Retrofit + Glide + Material Design

###简介 一款遵循Material Design风格的新闻,美图,天气查询应用

  • Android一些次新的技术的一个合集示例
  • API来自网络免费API(感谢提供api的服务商,良心啊~,不过这几天不太稳定,时不时返回一个html代码,有待测试
  • MVP模式(使用ViewDelegate解耦,非常感谢kymjs提供的mvp**,在他的基础上我有一些改动,虽然有些地方我有点不太理解,但是决定在这个应用上做个最佳实践)@kymjs(https://github.com/kymjs/TheMVP)
  • leakcanary引入(这个还在摸索到底怎么用)
  • Retrofit(+RxJava)网络请求
  • Glide加载缓存图片
  • 使用RecyclerView展示新闻列表

###版本 ####V0.5

  • 美图支持类型切换,“清纯”,“气质”,“萌女”,“校花”

####V0.4

  • 修改第二个tab为美图大全,瀑布流显示,“美图”看个够。。。
  • 支持图片点击放大,双指缩放,旋转
  • 抽取出一个公共的recyclerview代理类(grid,list合二为一),并支持下拉刷新

####V0.3

  • 天气预报查询,弹窗提醒
  • 修改新闻列表为cardview展示
  • 支持新闻查看详情,CollapsingToolbarLayout + NestedScrollView
  • 支持右滑返回
  • 增加离线缓存机制(使用Retrofit和Okhttp实现网络缓存)
  • 崩溃捕捉并写入本地文件(有存储卡写到存储卡,没有保存到内存),目录:/data/data/com.ly.supermvp/cache//Log/log.txt,基于此功能可以后期做一个友好的应用crash提示

####V0.2

  • 整体框架搭建完毕,新闻列表功能已经实现,各功能正常
  • 下拉刷新与加载更多的解耦

###截图 ####美图

####新闻

####天气预报

深受以下文章影响,感谢大神们的无私讲解

###开源项目 #####RengwuxianRxjava 扔物线《给Android开发者的RxJava详解》文章中的例子
Github地址:https://github.com/androidmalin/RengwuxianRxjava

#####SimpleNews 基于Material Design和MVP的新闻客户端
Github地址:https://github.com/liuling07/SimpleNews

###About me

###引入的第三方库 ####squarup出品,必属精品, 不用过多介绍

####Rx系列

####其他热门

  • Glide(Google官方推荐图片加载库)
  • Butter Knife(专注于控件的注解,Dagger太全面)
  • Logger(打印log现在可以好看多了,使用so easy)
  • Material(一系列meterial的控件,不过用起来有点差强人意,wiki写得不是很全面)
  • SwipeBackLayout(从未想过右滑返回可以做得这么简单,非常强大!)
  • PhotoView(支持旋转的photoview,不过没发现有设置单击图片的回调,直接设置OnclickListener不行,chrisbanes/PhotoView提供onPhotoTapListener是可以的)

走过路过不要错过 最后无耻的求一下STAR

supermvp's People

Contributors

liuyanggithub 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.