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.
Unfortunately, activation email could not send to your email. Please try again.

Listview AutoHeightMode throw exception in Android

Thread ID:

Created:

Updated:

Platform:

Replies:

130454 May 14,2017 10:54 AM May 16,2017 12:03 AM Xamarin.Forms 3
loading
Tags: SfListView
Muhammad Yunus
Asked On May 14, 2017 10:54 AM

Throwing System.MissingFieldException
Field 'Syncfusion.ListView.XForms.SfListView.AutoFitModeProperty' not found

Dinesh Babu Yadav [Syncfusion]
Replied On May 15, 2017 08:13 AM

Hi Muhammad, 
 
Thank you for using Syncfusion Products. 
 
The reported issue “MissingFieldException: Field AutoFitModeProperty not found” may occur due to mismatch assembly version of SfListView in Android renderer project. We have provided the support for AutoFit feature in our latest Essential Studio release (v 15.2.0.40). So, could you please ensure that the assembly version added in renderer projects and in PCL project for SfListView control is same as v15.2.0.40. For your reference, we have attached a working sample which automatically fit the item’s height based on the content and you can download it from the below link. 
 
 
Could you please check with the above sample?. If the issue still reproduces at your end, please modify the above sample to reproduce the issue and update us with replication procedure or video link. So, that we could able to analyze the issue better and update you with appropriate solution. 
 
Please let us know if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav 
 


Muhammad Yunus
Replied On May 15, 2017 08:56 PM

You are right, I forgot to change one of the references. Thanks for your response, by the way and good job.

Dinesh Babu Yadav [Syncfusion]
Replied On May 16, 2017 12:03 AM

Hi Muhammad, 
 
Thanks for the update. 
 
Regards, 
Dinesh Babu Yadav 


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.

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.

;