Hm, would this cause the mess? From: [email protected] [mailto:[email protected]] On Behalf Of Tim Kelly Sent: Dienstag, 20. Dezember 2011 00:21 To: Discussions related to Mono for Android Subject: Re: [mono-android] Redraw/refresh problem
Might you be missing the scroll control on your interface? ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Christian Weyer Sent: Monday, December 19, 2011 6:00 PM To: [email protected] Subject: [mono-android] Redraw/refresh problem Hi all, I have code like this (using Monodroid.Dialog from https://github.com/kevinmcmahon/MonoDroid.Dialog): private void RegisterMessagesHandler() { Task.Factory.StartNew(() => { while (true) { try { var message = broker.ReceiveAndDeleteMessage(topicName + "/Subscriptions/" + subscriptionName); if (!String.IsNullOrWhiteSpace(message)) { RunOnUiThread(delegate { messages.Elements.Add(new StringElement(message)); da.NotifyDataSetChanged(); }); } } catch (Exception ex) { Console.WriteLine(ex); } } }); } Everything seems to work fine. But after three and more entries the list gets messed up (screenshot): [cid:[email protected]] Any idea? Thanks, -Christian ________________________________ No virus found in this message. Checked by AVG - www.avg.com<http://www.avg.com> Version: 2012.0.1890 / Virus Database: 2108/4690 - Release Date: 12/19/11
<<inline: image001.jpg>>
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
