C# / Mono for Android Port of koush's UrlImageViewHelper
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
DownloaderAsyncTask.cs
ExtensionMethods.cs
Hashset.cs
LRUCache.cs
MonoDroid.UrlImageViewHelper.csproj
README.md
SoftReference.cs
SoftReferenceHashTable.cs
UrlImageCache.cs
UrlImageViewCallback.cs
UrlImageViewHelper.cs

README.md

MonoDroid.UrlImageViewHelper

C# / Mono for Android Port of koush's UrlImageViewHelper

You can see Koush's original project here: https://github.com/koush/UrlImageViewHelper

Sample Usage

It's really easy to use, there are a number of ExtensionMethods in the UrlImageViewHelper namespace for the ImageView class that take a couple different arguments as options. Here's a very simple example of loading an image from a url, but initially displaying a default image while the image from a url is loading:

var img = this.FindViewById<ImageView>(Resource.Id.SomeImageView);
img.SetUrlDrawable("http://site.com/image.png", Resource.Drawable.DefaultUrlImage);