Fix WRAP_CONTENT//WRAP_CONTENT case in NIV.

If the NIV is WRAP_CONTENT for both width / height,
skip the check that makes sure that it is measured before
fetching the image.
Fixed bug caused by batching responses in the ImageLoader

If the first call to batchResponse passes a VolleyError,
then all responses from that batch would show an error even
if some of them succeeded. This fixes the bug by setting the
error per BatchedImageRequest rather than for the batch.

Change-Id: I2543d2d6f4154c33ba072d7f97aee9dc67f3300e
Signed-off-by: Cameron Ketcham <cketcham@gmail.com>
Merge "Fixed bug caused by batching responses in the ImageLoader"
Merge "Fix WRAP_CONTENT//WRAP_CONTENT case in NIV."
Gradle project file.

Adds a gradle project file so that other projects can use the
volly library.

Change-Id: I22d68fff50f9073474eb6be692bf7cbd08a366ea
Only disable URLConnection useCaches if Request shouldCache is enabled

Change-Id: I00e2162c0f8b191a48c3694fbe8360ceca41696a
Add Request defaultShouldCache property

defaultShouldCache is a static property to set whether or not a Request should cache by default

Change-Id: I4e1c0303b9ce8b93381217a1205cde19ce217982
Set project as library project

Change-Id: I10e946f5402f95e5cdee9a999d420df1971c6fc5