Giter Site home page Giter Site logo

arad's Introduction

Arad

##android快速应用开发框架

android rapid application development的简写arad

Arad的特性

  • 注解开发,参考Butterknife,大大简化代码,注重业务的开发
  • Http使用Retrofit,标杆应用库,异步http请求,完美配合Rxjava,okhttp
  • 图片异步加载类库Glide google官方推荐
  • 数据库模块,LiteOrm框架,一行代码就可以进行增删改查。支持一对多,多对一等查询
  • Util 常用方法的集合
  • 多控件的支持,基础adapter,recycleview上拉下拉,常用页面切换动画,http统一错误处理等

Arad快速上手

Gradle 引入方式

compile 'com.beanu:arad:1.0.4'
  1. 继承AradApplication,配置ApplicationConfig
public class MyApplication extends AradApplication {
  @Override
  protected AradApplicationConfig appConfig() {
      return new AradApplicationConfig();
  }
}
  1. 开始使用Arad,在全局的任何地方
//http请求
  Arad.http.get(url,params,responseHandler);
  Arad.http.post(url,params,responseHandler);

//图片下载
  Arad.imageLoader.load(url).into(imageView);

//数据库访问
  Arad.db.findAll(Classname);
  Arad.db.save(entity);
  Arad.db.update(entity,strWhere);

//view注解开发
  @InjectView(R.id.toolbar_title) TextView toolbar_title;

推荐项目

arad's People

Contributors

beanu avatar jeremy16601 avatar shaonialife avatar

Watchers

 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.