Android kit for cat placeholders 🐱
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
catkit
example Basic demonstration of using a custom Picasso downloader Jul 3, 2015
extras/images added smaller image Jul 2, 2015
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew first commit Jun 29, 2015
gradlew.bat
maven_push.gradle added support to maven repository Jul 9, 2015
settings.gradle Upgraded android maven plugin Jun 30, 2015

README.md

CatKit

Android kit for cat placeholders

Usage

With Density-independent Pixels:

CatKit.with(context)
        .dp(200, 200)
        .into(targetImageView);

With Pixels:

CatKit.with(context)
        .px(500, 300)
        .into(targetImageView);

Memory Policy:

CatKit.with(context)
        .dp(200, 200)
        .memoryPolicy(MemoryPolicy.NO_CACHE)
        .into(targetImageView);

Install

Add the dependency to your build.gradle

dependencies {
  compile 'com.cesarferreira.catkit:catkit:0.3.0'
}

Contributing

  1. Fork it ( https://github.com/cesarferreira/catkit/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request