Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redth/monodroid.urlimageviewhelper
C# / Mono for Android Port of koush's UrlImageViewHelper
https://github.com/redth/monodroid.urlimageviewhelper
Last synced: 10 days ago
JSON representation
C# / Mono for Android Port of koush's UrlImageViewHelper
- Host: GitHub
- URL: https://github.com/redth/monodroid.urlimageviewhelper
- Owner: Redth
- Created: 2012-07-23T13:40:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-12T18:25:09.000Z (almost 12 years ago)
- Last Synced: 2024-10-17T07:33:58.556Z (21 days ago)
- Language: C#
- Size: 123 KB
- Stars: 35
- Watchers: 5
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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:
```csharp
var img = this.FindViewById(Resource.Id.SomeImageView);
img.SetUrlDrawable("http://site.com/image.png", Resource.Drawable.DefaultUrlImage);
```