Browse files

Merge tag 'v2.2'

[maven-release-plugin]  copy for tag v2.2
  • Loading branch information...
chrisbanes committed Mar 11, 2013
2 parents 117665b + 95e1c0e commit d08aab1bd3c2e04d416fec06509915b0a5d61e5b
@@ -13,10 +13,12 @@ A cache which can be set to use multiple layers of caching for Bitmap objects
in an Android app. Instances are created via a `BitmapLruCache.Builder` instance,
which can be used to alter the settings of the resulting cache.
-Instances of this class should ideally be kept globally with the application,
-for example in the `Application` object. You
-should also use the bundled [CacheableImageView]( wherever possible, as
-the memory cache has a close relationship with it.
+Instances of this class should ideally be kept globally within your application,
+for example in the `Application` object.
+If you wish for the library and recycling feature to work, you **MUST** use the bundled [CacheableImageView]( wherever possible.
+## Usage
Clients can call `get(String)` to retrieve a cached value from the
given Url. This will check all available caches for the value. There are also
@@ -29,7 +31,7 @@ method, as they allow 1:1 caching to disk of the original content. <br />
`put(String, Bitmap)` and `put(String, Bitmap, boolean)` should
only be used if you can't get access to the original InputStream.
-## Usage
+## Obtaining
The easy way to use the library is by downloading the JAR file, and importing it into your Eclipse project. You can find the latest JAR file from here: []( Just remember that you must include all of the required libraries below too.
If you are a Maven user you can also add this library as a dependency since it
@@ -40,17 +42,18 @@ it distributed to the central repositories. Simply add the following to your
- <version>2.1</version>
+ <version>2.2</version>
### Requirements
- * [DiskLruCache]( Tested with v1.3.1.
- * [Android v4 Support Library]( Preferably the latest available.
+ * [DiskLruCache]( Latest available.
+ * [Android v4 Support Library]( Latest available.
## License
- Copyright 2011, 2012 Chris Banes
+ Copyright 2011, 2012, 2013 Chris Banes
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
- android:versionCode="2100"
- android:versionName="2.1" >
+ android:versionCode="2200"
+ android:versionName="2.2" >
<uses-sdk android:minSdkVersion="4" />
@@ -10,7 +10,7 @@
- <version>2.1.1</version>
+ <version>2.2</version>
Oops, something went wrong.

0 comments on commit d08aab1

Please sign in to comment.