Re: [mono-android] Crash on list scrolling

2012-04-08 Thread gnauck
Thanks Jon, works great now. So I started with the wrong example ;-) Alex -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Crash-on-list-scrolling-tp5620102p5626483.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] Crash on list scrolling

2012-04-06 Thread Jonathan Pryor
On Apr 6, 2012, at 8:44 AM, gnauck wrote: > Each time I scroll down and up the list GREF increases and never goes down > again. The same happens when I open the activity, go back and open it again > several times. > > Is there a work around for this? The work around is to Not Do Thatâ„¢. The Home

Re: [mono-android] Crash on list scrolling

2012-04-06 Thread Jonathan Pryor
On Apr 6, 2012, at 8:48 AM, gnauck wrote: > here: http://samples.xamarin.com/Samples/Details?type=MonoForAndroid&id=94 Thanks; the sample was buggy, as it would constantly create new View instances within Home_Adapter.GetView() instead of reusing the `convertView` parameter. I've fixed this:

Re: [mono-android] Crash on list scrolling

2012-04-06 Thread gnauck
Jonathan Pryor-2 wrote > > I'm not sure where you're getting this sample from. > here: http://samples.xamarin.com/Samples/Details?type=MonoForAndroid&id=94 Alex -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Crash-on-list-scrolling-tp5620102p5622678.html Sent

Re: [mono-android] Crash on list scrolling

2012-04-06 Thread gnauck
Jon thanks for your fast reply. Before the crash I see this in the log: 04-06 11:49:28.396 D/dalvikvm( 516): GREF has increased to 701 04-06 11:49:32.178 D/dalvikvm( 516): GREF has increased to 801 04-06 11:49:51.285 D/dalvikvm( 516): GREF has increased to 901 04-06 11:49:55.085 D/dalvikvm( 5

Re: [mono-android] Crash on list scrolling

2012-04-05 Thread Jonathan Pryor
On Apr 5, 2012, at 7:11 AM, gnauck wrote: > When 1 have lists with 200+ items and scroll down the list on the emulator I > get randomly an application crash. Visual Studio reports the following errors: > > Unhandled Exception: System.Reflection.TargetInvocationException: Exception > has been thr

[mono-android] Crash on list scrolling

2012-04-05 Thread gnauck
Hello, we are currently evaluating Mono for Android for a new project. So I am currently only testing on the Emulator. When 1 have lists with 200+ items and scroll down the list on the emulator I get randomly an application crash. Visual Studio reports the following errors: Unhandled Exception: S