GithubHelp home page GithubHelp logo

android-library's Introduction

Android-Library

Base UI

  1. BaseActivity,BaseFragment
    • 沉浸模式 (4.X,键盘冲突,主流机型)
    • Toolbar 统一样式
    • Vector 图标兼容
  2. Utils,基于Blankj/AndroidUtilCode,有删减和添加;

Http:OkHttp3、Retrofit2、RxJava2

  1. 封装Response数据结构:BaseObserver处理服务器响应
  2. 统一预处理请求:header,cache
  3. 统一异常处理:特定错误提示,token失效重新登录
  4. 统一加载动画ProgressDialog
  5. 自动取消Http请求:使用RxLifecycle自动取消请求
  6. 请求失败后的Retry封装处理
  7. RxLifecycle管理生命周期,防止泄露:集成RxActivity, RxFragment
  8. Cookie实现免登录
  9. Rx转换类,简化请求调用

Other

  • 常用效率库;

PS

  • Demo 逐步完善中;其他基础库陆续开发中;
  • 项目中同步使用该Library
  • 问题及时反馈
  • 项目开发首选;

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.