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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Listview AutoHeightMode throw exception in Android

Thread ID:





130454 May 14,2017 02:54 PM UTC May 16,2017 04:03 AM UTC Xamarin.Forms 3
Tags: SfListView
Muhammad Yunus
Asked On May 14, 2017 02:54 PM UTC

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

Dinesh Babu Yadav [Syncfusion]
Replied On May 15, 2017 12:13 PM UTC

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 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. 
Dinesh Babu Yadav 

Muhammad Yunus
Replied On May 16, 2017 12:56 AM UTC

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 04:03 AM UTC

Hi Muhammad, 
Thanks for the update. 
Dinesh Babu Yadav 


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