Can't Access Disposed object - SFRotator

i added a grid template for rotator and on grid tap event i bind a command to change item background color. what i need is to set color of selected rotator item as green and all other as my default color. On start if i click first item it change the color of grid but as i rotate to next item and tap on it. the crash occurs with message of
"Unhandled Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Forms.Platform.Android.Platform+DefaultRenderer'."
Code file is added:
Is there any solution or alternate so i access disposed object and change its color?

Attachment: QuryForRotator_3d78b409.rar

2 Replies

VA Vinnalan Aravazhi Syncfusion Team June 4, 2018 12:38 PM UTC

Hi Umair,

Thanks for contacting Syncfusion support.

Query: ObjectDisposedException thrown if i click first item and i rotate to next item and tap on it in SfRotator.

We have checked the reported issue from our side and we are able to reproduce the reported issue from our side. We will fix this issue and fix will be included in our upcoming 2018 volume 2 Sp 1 release, which will be rolled out by the end of this month.

Please let us know if you have any other queries.

Regards,
Vinnalan K A.


PA Paul Anderson S Syncfusion Team July 26, 2018 07:34 AM UTC

Hi Umair, 
 
We would like to let you know that on further analyzing while fixing the reported issue we found that the issue s raised in the Xamarin Default renderer which may be a framework issue and need to be fixed by the Xamarin team. So, we have created a forum query for this issue in Xamarin forms. Please check the link for further reference. 
 
 
Regards, 
Paul Anderson 


Loader.
Up arrow icon