GithubHelp home page GithubHelp logo

courier's Introduction

Courier

相信大家很多时候。在Activity进行页面传值时。很苦恼,需要定义各种各样的KEY定义传递数据。在传递时如果参数较多。还得需要到目标Activity中去寻找传递的数据应该是怎么传递才是符合逻辑的。某条数据。应该如何传。才是符合逻辑的。现在好了。有了此框架的加入。相信定能使你的Activity代码更加简洁易懂。再遇到界面跳转传递参数过多的情况。那都不叫事!

Courier框架使用编译时注解处理。绿色无反射。完全不用担心你的运行效率问题

如何引进Courier:

  • 在工程的根目录的build.gradle中加入:
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
  • 在要使用的工程module中添加应用apt插件
apply plugin: 'com.neenbedankt.android-apt'
  • 加入引用:
dependencies {
	...
    compile 'org.lzh.compiler.courier:courier-api:0.3'
    apt 'org.lzh.compiler.courier:courier-compiler:0.3'
}

具体使用姿势 ####新创建一个QQ群以做交流.欢迎各位加入交流分享:108895031

courier's People

Contributors

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