evrimulgen / BoilerDroid

Home Page:http://pingpongboss.github.com/BoilerDroid/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

BoilerDroid lets Android developers use jQuery's programming style, providing these main benefits:

  • Notion of class and id for layout Views
  • jQuery-like selectors to work with multiple elements at a time
  • Concise syntax and method chaining
  • Boilerplate removal for various use cases

Examples:

// Selectors, method chaining, and convenience methods
$(".status").text("username unavailable").textColor("red").show();

// Switch Activities easily
$(MyActivity.class).data("auth_token", "xxxxxx").start();

Installation

Step 1: Setup the BoilerDroid library

Download the BoilerDroid repository as a zip, tar, or clone.

Import /library into Eclipse as an Android Library Project. (?)

Link to BoilerDroid as an Android Library in your own Project. (?)

Step 2: Start using BoilerDroid in your project

Modify all Activities in your project to extend BoilerActivity.

Use the $( ... ) function to start making cool things.

Documentation

Coming soon...

Created By

@pingpongboss

@jmwong

@oldgreg