row height does not update when changing content size- this is a xamarin forms listview bug.Does it happen also with SFListView?

Does this bug happen also with the syncfusionListView? https://github.com/xamarin/Xamarin.Forms/issues/2383.

Thanks,Norbert

6 Replies

LN Lakshmi Natarajan Syncfusion Team March 12, 2020 05:12 AM UTC

Hi Norbert, 
 
Thank you for using Syncfusion product. 
 
We have checked the reported query from our end. We would like to let you know that the reported issue does not occur in the Syncfusion ListView. The SfListView will dynamically resize the ListViewItems based on the content loaded in the ItemTemplate by using the AutoFitMode property. 
 
AutoFitMode 
Description 
Height 
AutoFit the items based on the content. 
DynamicHeight 
AutoFit the items based on the content if size of the content is changed at run time. 
None 
The ListView items are layout by ItemSize. 
 
Please refer our online user guidelines document on item size customization from the following link, 
 
 
Please let us know if you need any further assistance. 
 
Lakshmi Natarajan 



TC Tamas Cons replied to Lakshmi Natarajan March 14, 2020 02:35 PM UTC

Hi Norbert, 
 
Thank you for using Syncfusion product. 
 
We have checked the reported query from our end. We would like to let you know that the reported issue does not occur in the Syncfusion ListView. The SfListView will dynamically resize the ListViewItems based on the content loaded in the ItemTemplate by using the AutoFitMode property. 
 
AutoFitMode 
Description 
Height 
AutoFit the items based on the content. 
DynamicHeight 
AutoFit the items based on the content if size of the content is changed at run time. 
None 
The ListView items are layout by ItemSize. 
 
Please refer our online user guidelines document on item size customization from the following link, 
 
 
Please let us know if you need any further assistance. 
 
Lakshmi Natarajan 


Problem1: But it seems the problem is there on Android, On iOS it works fine,but with syncfusion listview the android one is breaking.....Botht the cells and the headers are messed up after a while as you can see in the attached video.
Problem 2: if I have a slider inside of the Listview, an exception with "Font asset not found helvetica" is thrown when expanding a group.
See following example( actionsListView.ExpandGroup(_expandedGroup); => this throws the exception).

private void actionsListViewOnGroupExpanding(object sender, GroupExpandCollapseChangingEventArgs e)
{
if (e.Groups.Count > 0)
{
var group = e.Groups[0];
if (_expandedGroup == null || group.Key != _expandedGroup.Key)
{
foreach (var otherGroup in actionsListView.DataSource.Groups)
{
if (group.Key != otherGroup.Key)
{
actionsListView.CollapseGroup(otherGroup);
}
}
_expandedGroup = group;
actionsListView.ExpandGroup(_expandedGroup);
}
}
}

Waiting on your comments,

Regards,Norbert

Attachment: AndroidCellsBreaking_793b839.rar


LN Lakshmi Natarajan Syncfusion Team March 16, 2020 09:59 AM UTC

Hi Norbert, 
 
Thank you for the update. 
 
We have checked the reported queries from our end. 
 
#Regarding problem 1 
 
We have checked the reported query “Header issues in Android” from our end. Could you please let us know whether IsStickyGroupHeader enabled in SfListView? 
 
If yes, we would like to let you know that this is the framework issue in Xamarin.Forms version 4.0.0.618610 and above with IsStickyGroupHeader enabled in ListView. We have logged the issue report for the same to Xamarin.Forms team. Kindly refer the following report for further updates from below.   
  
   
Please check the sample with XF version 4.0.0.540366 or below and let us know if you still facing the same issue? 
 
#Regarding problem 2 
 
Based on the code snippet provided, we have checked the reported issue from our end. Unfortunately, we are unable to reproduce the reported issue in our sample and Slider inside SfListView works fine as expected. We have attached the tested sample for your reference. Please find them from following link, 
 
 
Please check the sample and let us know if you still facing the issue? If not, please modify our sample to reproduce the issue and revert us back with following details, 
 
  • Share issue reproducible sample (if possible)
  • Share ListView related templates
  • Share Syncfusion and Xamarin Forms version used in your application
  • Device configuration details
 
It will be helpful for us to check on it and provide you the solution at the earliest. 
 
Lakshmi Natarajan 
 



TC Tamas Cons replied to Lakshmi Natarajan March 19, 2020 07:21 AM UTC

Hi Norbert, 
 
Thank you for the update. 
 
We have checked the reported queries from our end. 
 
#Regarding problem 1 
 
We have checked the reported query “Header issues in Android” from our end. Could you please let us know whether IsStickyGroupHeader enabled in SfListView? 
 
If yes, we would like to let you know that this is the framework issue in Xamarin.Forms version 4.0.0.618610 and above with IsStickyGroupHeader enabled in ListView. We have logged the issue report for the same to Xamarin.Forms team. Kindly refer the following report for further updates from below.   
  
   
Please check the sample with XF version 4.0.0.540366 or below and let us know if you still facing the same issue? 
 
#Regarding problem 2 
 
Based on the code snippet provided, we have checked the reported issue from our end. Unfortunately, we are unable to reproduce the reported issue in our sample and Slider inside SfListView works fine as expected. We have attached the tested sample for your reference. Please find them from following link, 
 
 
Please check the sample and let us know if you still facing the issue? If not, please modify our sample to reproduce the issue and revert us back with following details, 
 
  • Share issue reproducible sample (if possible)
  • Share ListView related templates
  • Share Syncfusion and Xamarin Forms version used in your application
  • Device configuration details
 
It will be helpful for us to check on it and provide you the solution at the earliest. 
 
Lakshmi Natarajan 
 


Regarding issue 1. No,it is not a header only problem,and stickyGropuHeader is not enabled anyway. You can see it's a cell height issue as well,as empty spaces appear between the cellviews in the video that I sent with my earlier post,than also the header is broken after a while.

Regarding issue2 . For now it is not a big problem,as I commented out the slider and the cell height issue and header issues are present anyway,so clearly this exception does not cause the problems described at issue1.

Please check this issue ,number 1,as it is causing us a lot of trouble.Thanks,Norbert(attached again the video)

Attachment: AndroidCellsBreaking_82c92e67.rar


TC Tamas Cons March 19, 2020 07:47 PM UTC

I am also thinking about a remote session with one of your developers to solve our issue.


LN Lakshmi Natarajan Syncfusion Team March 20, 2020 07:22 AM UTC

Hi, 
  
We have created a new incident under your Direct trac account for updating the meeting details . We suggest you to follow up with the incident for further updates. Please log in using the below link.  
 
Lakshmi Natarajan 
  


Loader.
Up arrow icon