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

Error at Android.Widget.ImageView.SetImageDrawable

$
0
0

Hello i have the following error message throught Device Log :

at <0xffffffff>
at (wrapper managed-to-native) Java.Interop.NativeMethods.java_interop_jnienv_call_nonvirtual_void_method_a (intptr,intptr&,intptr,intptr,intptr,Java.Interop.JniArgumentValue) [0x00010] in <7802aa64ad574c33adca332a3fa9706a>:0
at Java.Interop.JniEnvironment/InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference,Java.Interop.JniObjectReference,Java.Interop.JniMethodInfo,Java.Interop.JniArgumentValue
) [0x00074] in <7802aa64ad574c33adca332a3fa9706a>: 0
at Java.Interop.JniPeerMembers/JniInstanceMethods.InvokeVirtualVoidMethod (string,Java.Interop.IJavaPeerable,Java.Interop.JniArgumentValue*) [0x0005f] in <7802aa64ad574c33adca332a3fa9706a>: 0
at Android.Widget.ImageView.SetImageDrawable (Android.Graphics.Drawables.Drawable) [0x00038] in <263adecfa58f4c449f1ff56156d886fd>: 0
at Xamarin.Forms.Platform.Android.ImageViewExtensions/d__0.MoveNext () [0x00214] in D :\a\1\s\Xamarin.Forms.Platform.Android\Extensions\ImageViewExtensions.cs:67
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageViewExtensions/d__0> (Xamarin.Forms.Platform.Android.ImageViewExtensions/d__0&) [0x00033] in :0
at Xamarin.Forms.Platform.Android.ImageViewExtensions.UpdateBitmap (Android.Widget.ImageView,Xamarin.Forms.Image,Xamarin.Forms.Image) [0x00037] in <6d4ed4125be34de781270a341e979c0d>: 0
at Xamarin.Forms.Platform.Android.ImageRenderer/d__10.MoveNext () [0x00033] in D :\a\1\s\Xamarin.Forms.Platform.Android\Renderers\ImageRenderer.cs:113
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageRenderer/d__10> (Xamarin.Forms.Platform.Android.ImageRenderer/d__10&) [0x00033] in : 0
at Xamarin.Forms.Platform.Android.ImageRenderer.UpdateBitmap (Xamarin.Forms.Image) [0x0002f] in <6d4ed4125be34de781270a341e979c0d>: 0
at Xamarin.Forms.Platform.Android.ImageRenderer/d__9.MoveNext () [0x00014] in D :\a\1\s\Xamarin.Forms.Platform.Android\Renderers\ImageRenderer.cs:94
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageRenderer/d__9> (Xamarin.Forms.Platform.Android.ImageRenderer/d__9&) [0x00033] in : 0
at Xamarin.Forms.Platform.Android.ImageRenderer.TryUpdateBitmap (Xamarin.Forms.Image) [0x0002f] in <6d4ed4125be34de781270a341e979c0d>: 0
at Xamarin.Forms.Platform.Android.ImageRenderer/d__7.MoveNext () [0x0003f] in D :\a\1\s\Xamarin.Forms.Platform.Android\Renderers\ImageRenderer.cs:70
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageRenderer/d__7> (Xamarin.Forms.Platform.Android.ImageRenderer/d__7&) [0x00033] in : 0
at Xamarin.Forms.Platform.Android.ImageRenderer.OnElementPropertyChanged (object,System.ComponentModel.PropertyChangedEventArgs) [0x00037] in <6d4ed4125be34de781270a341e979c0d>: 0
at (wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) [0x00073] in <5a97d41d36694fb19855c17429527b10>: 0
at Xamarin.Forms.BindableObject.OnPropertyChanged (string) [0x0000a] in D :\a\1\s\Xamarin.Forms.Core\BindableObject.cs:153
at Xamarin.Forms.Element.OnPropertyChanged (string) [0x00000] in D :\a\1\s\Xamarin.Forms.Core\Element.cs:402
at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty,Xamarin.Forms.BindableObject/BindablePropertyContext,object,bool,Xamarin.Forms.Internals.SetValueFlags,bool) [0x00116] in D :\a\1\s\Xamarin.Forms.Core\BindableObject.cs:634
at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty,object,Xamarin.Forms.Internals.SetValueFlags,Xamarin.Forms.BindableObject/SetValuePrivateFlags) [0x0015b] in D :\a\1\s\Xamarin.Forms.Core\BindableObject.cs:426
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object,bool,bool) [0x0003d] in D :\a\1\s\Xamarin.Forms.Core\BindableObject.cs:583
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty,object,bool) [0x00000] in D :\a\1\s\Xamarin.Forms.Core\BindableObject.cs:360
at Xamarin.Forms.Setter.Apply (Xamarin.Forms.BindableObject,bool) [0x000ba] in D :\a\1\s\Xamarin.Forms.Core\Setter.cs:65
at Xamarin.Forms.TriggerBase.OnConditionChanged (Xamarin.Forms.BindableObject,bool,bool) [0x00045] in D :\a\1\s\Xamarin.Forms.Core\Interactivity\TriggerBase.cs:101
at Xamarin.Forms.BindingCondition.OnBoundPropertyChanged (Xamarin.Forms.BindableObject,object,object) [0x0001d] in D :\a\1\s\Xamarin.Forms.Core\Interactivity\BindingCondition.cs:95
at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty,Xamarin.Forms.BindableObject/BindablePropertyContext,object,bool,Xamarin.Forms.Internals.SetValueFlags,bool) [0x00122] in D :\a\1\s\Xamarin.Forms.Core\BindableObject.cs:636
at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty,object,Xamarin.Forms.Internals.SetValueFlags,Xamarin.Forms.BindableObject/SetValuePrivateFlags) [0x0015b] in D :\a\1\s\Xamarin.Forms.Core\BindableObject.cs:426
at Xamarin.Forms.BindingExpression.ApplyCore (object,Xamarin.Forms.BindableObject,Xamarin.Forms.BindableProperty,bool) [0x00216] in D :\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:173
at Xamarin.Forms.BindingExpression.Apply (bool) [0x0003e] in D :\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:57
at Xamarin.Forms.BindingExpression/BindingExpressionPart.b__49_0 () [0 x 00000] in D :\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:616
at Java.Lang.Thread/RunnableImplementor.Run () [0x0000e] in <263adecfa58f4c449f1ff56156d886fd>: 0
at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00008] in <263adecfa58f4c449f1ff56156d886fd>: 0
at (wrapper dynamic-method) object.8fb0aee2-4199-46cb-9693-1580fd8e2803 (intptr,intptr) [0x00011] in : 0
at (wrapper native-to-managed) object.8fb0aee2-4199-46cb-9693-1580fd8e2803 (intptr,intptr) [0x00021] in : 0

The flow is : I have a Page A with a listview. This Listiview has ViewCell which has 2 images and some stacklayouts with labels inside. When i click at one item of this Listview, Page B appear, i'm doing some stuff and then i popasync at Page A again. I have to notice that i have a Refresh function inside override void OnAppearing() which Refresh the items of ListView at Page A. This function change the labels and images (By triggers) for each item of ListiView.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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