You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(viewisCollectionViewcv){foreach(varitemincv.ItemsSource){// Must choose the datatemplate firstvartemp=cv.ItemTemplate.CreateContent()asView;temp.BindingContext=item;cv.AddLogicalChild(temp);}varlogicalChildren=cv.GetType().GetProperty("LogicalChildrenInternal",BindingFlags.Instance|BindingFlags.NonPublic).GetValue(cv)asReadOnlyCollection<Element>;}
It will be needed to handle the collection filling manually, since it is only done in the platform code.
https://github.com/xamarin/Xamarin.Forms/blob/5.0.0/Xamarin.Forms.Platform.iOS/CollectionView/TemplatedCell.cs
Selecting data template:
https://github.com/xamarin/Xamarin.Forms/blob/5.0.0/Xamarin.Forms.Platform.iOS/CollectionView/TemplatedCell.cs#L99
The text was updated successfully, but these errors were encountered: