Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

pierrre/Android-WebImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NOT MAINTAINED - You should use Picasso

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages