[mono-android] slow loading of FindViewByID

Jonathan Pryor jpryor at novell.com
Tue Mar 29 09:51:42 EDT 2011


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



More information about the Monodroid mailing list