Hi Dmitry,
Sorry for the inconvenience.
Due to Framework hurdles, the reported issue “When AutoFitMode is Height, ListView doesn’t calculate the height of item at runtime” could not be included in 2017 Volume 3 SP 2 release. Now it has been resolved and the fix will be included in our Volume 4 main release. The item size will be updated automatically in the Android and UWP platform.
But need to manually force the SfListView to resize in iOS platform. Because, unable to find out child view’s size changes from parent view as per Xamarin iOS framework architecture. Hence we have introduced a new method ForceUpdateItemSize in SfListView to force the update the item size in iOS platform when its content size is affected. You need to call that method when making changes at runtime like below code snippet.
if (Device.RuntimePlatform == Device.iOS)
listView.ForceUpdateItemSize(); |
Please let us know if you require further assistance.
Regards,
G. Muthu Kumaran.