NOT MAINTAINED - You should use Picasso
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
library
sample
.gitignore
LICENSE
README.md

README.md

Android WebImage Library

DEPRECATED: you should use Picasso

This library allows developers to easily integrate images from the web in an Android application.

Features

  • ImageView class
  • Drawable class (useful for map items)
  • File cache (on the SDCard, lifetime is adjustable)
  • Memory cache (LRU cache, size is adjustable)

Sample

A sample application is available: WebImage Sample.

Phone landscape

The source code is available in this repository.

Compatibility

This library is compatible from API 7 (Android 2.1).

Installation

The library project requires:

The sample project requires:

Usage

Add the View to the layout:

<org.pierrre.webimage.WebImageView
    android:id="@+id/image"
    android:layout_width="100dp"
    android:layout_height="100dp" />

Set the image url:

WebImageView image = (WebImageView) findViewById(R.id.image);
image.setImageUrl("http://www.example.com/image.png");

Contact