Open jianghanxia opened 6 years ago
Hi @jianghanxia
@jianghanxia this is not XF Bug or error its problem with code logic ... try this answer https://stackoverflow.com/a/51922457/3166765 My problem of Cannot access a disposed object is solved with that solution Thumb Up There if that Answer Helps
This Error caused a lot of FC.This is App Center Log: FlowListView.ReloadContainerList () System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Android.Widget.ListView'.
JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) JniPeerMembers+JniInstanceMethods.InvokeVirtualBooleanMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) ListView.RemoveHeaderView (Android.Views.View v) ListViewAdapter.OnDataChanged () ListViewAdapter.OnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) TemplatedItemsListb49_0 ()
Thread+RunnableImplementor.Run ()
IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr nativethis)
(wrapper dynamic-method) System.Object.6a276ee7-1e9a-4dd7-be8a-e402d08d80fd(intptr,intptr)
2[TView,TItem].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) TemplatedItemsList
2[TView,TItem].OnProxyCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) TemplatedItemsList2[TView,TItem].OnItemsSourceChanged (System.Boolean fromGrouping) TemplatedItemsList
2[TView,TItem].BindableOnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) (wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs) BindableObject.OnPropertyChanged (System.String propertyName) Element.OnPropertyChanged (System.String propertyName) BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value) ItemsView`1[TVisual].set_ItemsSource (System.Collections.IEnumerable value) FlowListView.ReloadContainerList () FlowListView.ForceReload (System.Boolean updateOnly) FlowListView.FlowListViewPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) (wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs) BindableObject.OnPropertyChanged (System.String propertyName) Element.OnPropertyChanged (System.String propertyName) BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) BindingExpression.ApplyCore (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property, System.Boolean fromTarget) BindingExpression.Apply (System.Boolean fromTarget) BindingExpression+BindingExpressionPart.