Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

ListView in Android lots of bugs?

$
0
0

I get an error when I'm through various ways add/remove/filter/select/ items in my list (instantiated once there after updated) on Android. I've absolutely no ideas on what to do/improve...

When an action (add/remove..) is selected by the user I simply call an "Reload/Update list" function which basically reloads the ListViews itemSource.

Works fine on iOS.

Any ideas?

    [MonoDroid] UNHANDLED EXCEPTION:
    [MonoDroid] System.ArgumentException: 'jobject' must not be IntPtr.Zero.
    [MonoDroid] Parameter name: jobject
    [MonoDroid] at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue[]) [0x00010] in /Users/builder/data/lanes/1131/2a7b6821/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:500
    [MonoDroid] at Android.Views.View.set_Enabled (bool) [0x00043] in /Users/builder/data/lanes/1131/2a7b6821/source/monodroid/src/Mono.Android/platforms/android-16/src/generated/Android.Views.View.cs:4152
    [MonoDroid] at Xamarin.Forms.Platform.Android.ViewRenderer`2<Xamarin.Forms.Label, Android.Widget.TextView>.UpdateIsEnabled () <0x000bb>
    [MonoDroid] at Xamarin.Forms.Platform.Android.ViewRenderer`2<Xamarin.Forms.Label, Android.Widget.TextView>.OnElementPropertyChanged (object,System.ComponentModel.PropertyChangedEventArgs) <0x000a7>
    [MonoDroid] at Xamarin.Forms.Platform.Android.LabelRenderer.OnElementPropertyChanged (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x00003, 0x00033>
    [MonoDroid] at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x00027, 0x00042>
    [MonoDroid] at Xamarin.Forms.BindableObject.OnPropertyChanged (string) <IL 0x00012, 0x00087>
    [MonoDroid] at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty,object,bool,bool,bool) <IL 0x000a3, 0x002d7>
    [MonoDroid] at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty,object,bool,bool,bool) <IL 0x00213, 0x007b7>
    [MonoDroid] at Xamarin.Forms.BindingExpression.ApplyCore (object,Xamarin.Forms.BindableObject,Xamarin.Forms.BindableProperty,bool) <IL 0x00206, 0x00b8f>
    [MonoDroid] at Xamarin.Forms.BindingExpression.Apply (bool) <IL 0x00041, 0x000f3>
    [MonoDroid] at Xamarin.Forms.BindingExpression/BindingExpressionPart.<PropertyChanged>b__12 () <IL 0x00007, 0x0002f>
    [MonoDroid] at Java.Lang.Thread/RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/1131/2a7b6821/source/monodroid/src/Mono.Android/src/Java.Lang/Thread.cs:36
    [MonoDroid] at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00009] in /Users/builder/data/lanes/1131/2a7b6821/source/monodroid/src/Mono.Android/platforms/android-16/src/generated/Java.Lang.IRunnable.cs:71
    [MonoDroid] at (wrapper dynamic-method) object.d2f8d507-3b80-41ad-86a6-875d53f75f95 (intptr,intptr) <IL 0x00011, 0x0001b>

Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>