daimajia / caffeine

Speed up your Android development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caffeine

Speed up your Android development!

A collection of utility classes that help make Android development faster (and safer!)

Examples

No more unsafe type casting scattered throughout your code:

TextView x = ViewUtils.findViewById(this, R.id.my_text)
ImageView y = ViewUtils.findViewById(this, R.id.my_image)
LinearLayout z = ViewUtils.findViewById(this, R.id.my_layout)

Some handy 1-liners:

ActivityUtils.launchActivity(this, SomeNewActivity.class);
DialogUtils.quickDialog(this, "Some awesome message");
ToastUtils.quickToast(this, "Some toast message");

And much more!

Adding to your application

  • As a .jar file

  • Using gradle

compile 'com.percolate:caffeine:0.3.3'
  • Using Maven
<dependency>
  <groupId>com.percolate</groupId>
  <artifactId>caffeine</artifactId>
  <version>0.3.3</version>
</dependency>

License

Open source. Distributed under the BSD 3 license. See license.txt for details.

About

Speed up your Android development

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 98.9%Language:Shell 1.1%