We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot access disposed object Exception

Thread ID:

Created:

Updated:

Platform:

Replies:

150333 Jan 2,2020 03:05 PM UTC Jan 8,2020 04:04 PM UTC Xamarin.Forms 1
loading
Tags: SfBorder
Future Tech
Asked On January 2, 2020 04:42 PM UTC

I'm using sfborder for round corners of images within collectionView  in xamarin forms. Scrolling in collectionview from top to bottom and again from bottom to top and performing these operations throw following exception:

Exception 

System.ObjectDisposedException: 'Cannot access a disposed object.
Object name: 'Android.Graphics.Rect'.'



Note: I'm using incremental loading in collectionview . I think problem is occuring when i update or increase collectionview items on scrolling and then scroll ftom top to bottom and vice versa for few times


Same problem i'm facing also when i use collectionview with sfbutton and when i used xamarin builtin button instead of sfbutton, the problem js resolved.



I have detailed discussion on the list of problems about synchfusion controls especially sfborder and sfbutton while using within xamarin collectionview.at xamarin forum :

Divya Venkatesan [Syncfusion]
Replied On January 8, 2020 04:04 PM UTC

Hi Future, 
 
Greetings from Syncfusion. 
 
We have prepared a sample based on your scenario and we are not able to reproduce the issue. We have attached the testing sample for your reference. 
 
 
Could you please check and modify the provided sample based on your requirement which would be more helpful for us to assist you? 
 
Regards, 
Divya Venkatesan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon