Giter Site home page Giter Site logo

rad's Introduction

Rapid Android Development

RAD包含了现今热门的技术之外(OKHttp、Rx、Aop、MVP),不赘述,新增了一些特性

English view README_EU.md

arch


  • ViewModel横竖屏复用

    • AndroidManifest下配置configChanges仅适合横竖屏布局一致的场景
    • 通常屏幕旋转View重新填充,但是数据却可以重用
    • 一些场景可以配合ViewModel中间类完成复用,参考ImageFragment
  • 网络使用OKNet

    • 完善的缓存、Rx、异常分发支持
  • 完善的UI与网络、基类框架联动写法

  • 基类自由组合,支持DataBinding

    • DataBing的布局xml文件需要包裹layout节点,include节点的也需要,布局中新增的component或id,可能需要在As的右侧面板Refresh All,或者Rebuild
    • 请查看项目基类继承链,如要使用butterknife,直接继承ViewModelBaseActivity即可
    • 业务基类仅将DataBinding作为替代butterknife用处,默认的layout绑定的变量id为BR.viewModel
  • aop启用,在app module下顶部apply plugin放开注释

  • 欢迎建议、留言

  • 点击查看运行效果

  • 简书额外描述

License

http://www.apache.org/licenses/LICENSE-2.0

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.