Hello,
On our xamarin forms mobile app we are using syncfusion controls and I have run into an issue that I cannot seem to solve / debug anything useful.
It was all working fine until I have just upgraded our syncfusion controls and xamarin packages on nuget to the very latest version of each - this was mainly so that I could get hold of the InputViewPadding on a SfTextInputLayout to reduce the padding because we are not using a hint or helper text and has un-neccesary padding when not using those.
I am running the following versions of packages:
Xamarin.Forms -> v3.6.0.344457
Xamarin.Essentials -> v1.1.0
Syncfusion.Xamarin.* -> v17.1.0.47 (all packages we are using are updated to this version)
Ive made sure every single xamarin package reference is updated to the latest version also.
So the issue:
We have a login screen which displays two SfTextInputLayout controls (username & password) and this shows as intended on our main "StartupPage" - when we login we hide the two controls on this page and show a loading animation - once its successful we then popup a SfPopup to select a team that user has access to. This then shows a ListView within an SfPopup on that screen so still no switching of main pages. The error happens when I select an item from that list which would in turn usually close down the SfPopup still showing the "StartupPage" loading symbol as before and then eventually load into the next page which would be our "TrackingPage".
I get the following error as soon as I press on an item in that list view on the SfPopup:
Unhandled Exception:
System.NotSupportedException: Unable to activate instance of type Xamarin.Forms.Platform.Android.Platform+DefaultRenderer from native handle 0xbee5bf0c (key_handle 0x399cff).
I can't seem to break on this exception even with the setting in visual studio set so cannot see the exact point of the problem, I have worked it as far as I can in my code and originally I thought it was maybe an issue with the page trying to change to another page - however this was working before the upgraded packages and also the SfPopup would hide after selecting an item and then it would wait a while until the next step was hit - so it seems like it is something related to the closure of the SfPopup or at least something at that stage which I cant seem to get through debug.
Do you have any thoughts on this issue at all or any enlightenment with the above exception?
Thanks in advance.