Giter VIP home page Giter VIP logo

rxretrofit-mvp's Introduction

RxRetrofit结合Mvp使用案例

##介绍

封装原理博客专栏:

Rxjava+ReTrofit+okHttp深入浅出-终极封装

介绍如何放弃GsonConverterFactory,直接返回String,灵活我们的封装!

兄弟版本-Rxjava+ReTrofit+okHttp深入浅出-终极封装Gson方案

Rxjava+ReTrofit+okHttp极简方式使用-无需任何学习成本

##具备功能

    1.Retrofit+Rxjava+okhttp基本使用方法
    2.统一处理请求数据格式
    3.统一的ProgressDialog和回调Subscriber处理
    4.取消http请求
    5.预处理http请求
    6.返回数据的统一判断
    7.失败后的retry处理
    8.RxLifecycle管理生命周期,防止泄露
    9.文件上传下载(支持多文件,断点续传)
    10.Cache数据持久化和数据库(greenDao)两种缓存机制
    11.异常统一处理

用法

详细用法请下载demo查看

实现原理

RxJava+Retrofit+OkHttp深入浅出-mvp(使用篇)

##QQ交流群

聊聊人生,谈谈梦想,交流技术,你可以在这里找到我

rxretrofit-mvp's People

Contributors

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