[mono-android] slow loading of FindViewByID
John Murray
john at murray.gb.com
Thu Mar 31 07:44:52 EDT 2011
Just an update on this
Although I have problems with the debugger - cant evaluate watch
expressions - says timeout
I have discovered that the 8 seconds lad of the view/activity is at least
50% caused by loading some autocomplete arrayadapters which have some 300
entries
Jonathan I've used your excellent example of running something on another
thread and the whole lot now pops up into view in under 3 secs - perfectly
acceptable right now for my purposes
TX
-----Original Message-----
From: monodroid-bounces at lists.ximian.com
[mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
Sent: 29 March 2011 14:52
To: john at murray.gb.com; monodroid at lists.ximian.com
Subject: Re: [mono-android] slow loading of FindViewByID
On Mar 29, 2011, at 6:43 AM, John Murray wrote:
> I have tried running the view under Eclipse (though not the full app with
tabs) and load times are much faster
I find this puzzling; the JNI overhead shouldn't be that noticeable.
> The delay is almost certainly around the
>
> FindViewById<AutoCompleteTextView>(Resource.Id.indestfield);
Conjecture? :-)
You might consider adding some timing information around the call to see if
that's actually the problem or if it's actually somewhere else.
You might also consider filing a bug with a test case so we can look at this
performance issue.
> 1) Is there an issue with FindViewByID under Mono
None that has previously been reported.
- Jon
_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
More information about the Monodroid
mailing list