Might you be missing the scroll control on your interface?
________________________________ From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Christian Weyer Sent: Monday, December 19, 2011 6:00 PM To: Monodroid@lists.ximian.com Subject: [mono-android] Redraw/refresh problem Hi all, I have code like this (using Monodroid.Dialog from https://github.com/kevinmcmahon/MonoDroid.Dialog <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): Any idea? Thanks, -Christian ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1890 / Virus Database: 2108/4690 - Release Date: 12/19/11
<<image002.jpg>>
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid