Xamarin.Adnroid.Support.v7.RecycleView dependency in SfAutoComplete

Hello,

I'm trying to migrate to Xamarin.AndroidX and clear app from Android.Support dependencies, but I noticed that SfAutoComplete still depends on Xamarin.Adnroid.Support.v7.RecycleView

It would be great to see this and others SfControls updated to use AndroidX

Best regards,
Radoslaw Kubas

8 Replies

SP Sakthivel Palaniyappan Syncfusion Team June 4, 2020 11:00 AM UTC

Hi Radoslaw Kubas,

Greetings from Syncfusion.

Currently, we are supporting minimum version of Xamarin.Forms is 3.6.0.344457. So,  few dependencies are not referred from AndroidX when you work in  Xamarin.Forms 4.5 and above. So, you need to refer those assemblies manually. Also, we would like to inform that we have planning (Still checking some feasibility) to upgrade minimum Xamarin.Forms Support version on volume 3 main release.

We suggest you to add  Xamarin.Android.Support.v7.RecycleView package in Android project manually  to resolve the reported issue.

Please let us know , if you have any other queries.

Regards,
Sakthivel P.
 



MB Marcus Bowyer June 22, 2020 08:59 PM UTC

Hello, 

I am having this same issue with both the SfAutoComplete.Android and the SfComboBox.XForms.Android, which I think are part of Syncfusion.Core. Ultimately these dependences are coming from the syncfusion calendar control in our app. I can't manually add the reference to Xamarin.Android.Support.v7.RecycleView because it conflicts with the AndroidX dependencies. Do you know when there might be an update for these? 

Thanks


SP Sakthivel Palaniyappan Syncfusion Team June 23, 2020 03:23 PM UTC

Hi Marcus,

Thanks for the update.

Query 1 : I can't manually add the reference to Xamarin.Android.Support.v7.RecycleView

We have checked the reported problem and manually added Android.Support.v7.RecycleView but we are not able to reproduce the reported problem. Please find the sample from below link.

Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/CALEND~1-526054706.zip


Please check with the above sample and let us know if you have any concern.

Query 2: When there might be an update for these


As we said earlier, we have planning (Still checking some feasibility) to upgrade minimum Xamarin.Forms Support version on volume 3 main release.

Regards,
Sakthivel P.
 



MI Michael July 21, 2020 02:03 PM UTC

I use  Syncfusion.Xamarin.SfDataGrid and ran into the same problem. I could work around it by referencing
  • Xamarin.Android.Support.Compat
  •  Xamarin.Android.Support.Interpolator
  •  Xamarin.Android.Support.v7.RecyclerView
manually in my Android project.


Xamarin compiled Forms for two different targets: MonoAndroid90 uses Android.Support.* and MonoAndroid10.0 uses AndroidX. You can see that e.g. in https://github.com/xamarin/Xamarin.Forms/blob/main/Xamarin.Forms.Platform.Android/Renderers/CarouselPageRenderer.cs, lines 4-9:

#if __ANDROID_29__ using AndroidX.Core.View; using AndroidX.ViewPager.Widget; #else using Android.Support.V4.View; #endif

I did something similar in MR.Gestures and now my customers can use it with both AndroidX and the old Android.Support libraries.
IMHO you should do the same.


SP Sakthivel Palaniyappan Syncfusion Team July 22, 2020 01:55 PM UTC

Hi Michael,

Thanks for the suggestion.

As we said
earlier, we will include this for Volume 3, 2020 release. Which is expected to be rolled out on end of September 2020.

Regards,
Sakthivel P.




SP Sakthivel Palaniyappan Syncfusion Team October 5, 2020 12:44 PM UTC

Hi Michael,

We are glad to announce that our Essential Studio 2020 Volume 3 release v18.3.0.35  is rolled out and we have provided Android X support in this and it is available for download under the following link.

https://www.syncfusion.com/forums/158306/essential-studio-2020-volume-3-release-v18-3-0-35-is-available-for-download

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Sakthivel P.



DM Derek Mitchell April 24, 2021 11:25 AM UTC

We are experiencing the same issue using AndroidX, we are not able to make sure of the Syncfusion autocomplete control for Xamarin.Android (so not forms)


SS Suganya Sethuraman Syncfusion Team April 26, 2021 12:32 PM UTC

Hi Derek,

Greetings from Syncfusion.

We have analyzed your query and checked the reported issue with AndroidX in Xamarin.Android, but we were unable to reproduce the reported error. Sample we tried to reproduce the issue that can be downloaded from below.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/AutocompleteAnd-257571316

Since we are not aware of exact scenario of the issue, could you please check the issue with the attached sample and let us know whether it is reproduced or not? If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application along with replication procedure or provide the sample. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon