Hi Andreas,

I thought that calling cell.NeedsRedraw() would be what you needed, but I
guess not. The only other thing I can think of is to call
UITableView.ReloadRows() on the row that is using the cell that you just
updated the image on.

For example:

NSIndexPath[] rows = new NSIndexPath[] { tableView.IndexPathForCell (cell)
};
tableView.ReloadRows (rows, UITableViewRowAnimation.None);
rows[0].Dispose ();

Hope that helps!

Jeff

2012/1/16 Andreas Ploetzeneder <[email protected]>

>
> Hi,
>> this did not help!
>> I have a problem in the image setting where "e.error not null" is active.
>>
>> i cannot change the image,...I see the debug.writeline above it, so the
> image changing is called, but it is not changed, even when calliing it on
> mainthread!
>
>
>> best regards
>>
>>
>
> 2012/1/12 Jeff Stedfast <[email protected]>
>
>> Hi Andreas,
>>
>> You probably need to request a redraw of your view controller. It's
>> probably as simple as calling NeedsDisplay();
>>
>> Hope that helps,
>>
>> Jeff
>>
>> On Thu, Jan 12, 2012 at 9:01 AM, Andreas Ploetzeneder <
>> [email protected]> wrote:
>>
>>> Hi,
>>> when loading a method in a cell the second time, the image is not
>>> changig :/
>>>
>>> http://www.ploetzeneder-it.com/problem.cs
>>>
>>> So: *e.error not null* is on the debug line,
>>> but the image is not changed to offline.
>>> best regards,
>>>
>>>
>>> _______________________________________________
>>> MonoTouch mailing list
>>> [email protected]
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>>
>>
>> _______________________________________________
>> MonoTouch mailing list
>> [email protected]
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>>
>
>
> --
>
>
>
>
>
> Mit freundlichem Gruß,*
>
> Andreas Plötzeneder*
> CEO
> *ihr ploetzeneder it-solutions Team
> **Mobile 
> Development*<http://www.ploetzeneder-it.com/softwareentwicklung/mobile-development.html>
> * – 
> **Desktopanwendungen*<http://www.ploetzeneder-it.com/softwareentwicklung/desktop-anwendungen.html>
> * – 
> **Webanwendungen*<http://www.ploetzeneder-it.com/softwareentwicklung/web-anwendungen.html>
> *
> Tel:*  +43 720 30 30 24 10
> *Fax:* +43 720 30 30 24 20
> *Email:* [email protected]
> *web:   *http://www.ploetzeneder-it.com
>
>  Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
> und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
> vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so löschen
> sie diese bitte und informieren Sie den Absender. Jede Form der Verbreitung
> oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in
> Teilen, die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
> Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
> it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.
>
>
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to