Skip to content

percolate/caffeine

Repository files navigation

Caffeine

Speed up your Android development!

Android ArsenalCodacyJitPack

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

Examples

No more unsafe type casting scattered throughout your code:

TextViewx = ViewUtils.findViewById(this, R.id.my_text) ImageViewy = ViewUtils.findViewById(this, R.id.my_image) LinearLayoutz = 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.

About

Speed up your Android development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8