can do this many different ways. I've also tried with the TPL and had
success.
Wally
--
Date: Tue, 21 Aug 2012 20:09:16 -0500
From: ja...@awbrey.net
To: a-alma...@hotmail.com
CC: monotouch@lists.ximian.com
Subject: Re: [MonoTouch] Uitableview with images
Hi guys
I have a table view which has in getcell() the following line :
cell.ImageView.Image= UIImage.LoadFromData(NSData.FromUrl(www...com
));
it works and it get the image and assign it to the cell
but the problem is : the scrolling in the tableview is too slow and it be
fast when I
load the images asynchronously and cache them
On Tue, Aug 21, 2012 at 5:39 PM, Aziz a-alma...@hotmail.com wrote:
Hi guys
I have a table view which has in getcell() the following line :
cell.ImageView.Image= UIImage.LoadFromData(NSData.FromUrl(www...com
));
it works and it get the
you should look into MonoTouch.Dialog.Utilities.ImageLoader - just add a
project reference to MonoTouch.Dialog-1
https://github.com/migueldeicaza/MonoTouch.Dialog#image-loading
On Wed, Aug 22, 2012 at 8:44 AM, Jason Awbrey ja...@awbrey.net wrote:
load the images asynchronously and cache them
Thanks Guys
I added the reference and I do :
MonoTouch.Dialog.Utilities.ImageLoader MyLoader= new
MonoTouch.Dialog.Utilities.ImageLoader(50,50); *//Idon't understand the
sizes and is it for each image ?*
cell.ImageView.Image=MyLoader.RequestImage(MyUrl,*What I should put here
!!*);
Thanks
read the comments in the source - it is all explained fairly well
https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/MonoTouch.Dialog/Utilities/ImageLoader.cs
the (50,50) argument in the constructor is optional, it specifies the cache
size and memory limit
the 2nd argument to
I'm sorry for miss understanding ..!!
but I have problem with the second arrg: IImageUpdated
I do't need any thing to call when the request complete ..what I need to
assigin the image to cell.ImageView.Image
: (
--
View this message in context: