caffeine

by percolate

percolate /caffeine

Speed up your Android development

421 Stars 36 Forks Last release: over 3 years ago (0.4.7) BSD 3-Clause "New" or "Revised" License 83 Commits 8 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Caffeine

Speed up your Android development!

Android Arsenal Codacy JitPack

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

Simply add Caffeine as a gradle dependency. Distribution is done through jitpack.io.

See https://jitpack.io/#percolate/caffeine for instructions

Running Tests

./gradlew clean test:connectedAndroidTest

License

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.