Hi,
I am trying to embed a sfexpander as a itemtemplate in a listview.
When I setup autofitmode="DynamicHeight" I have an exception IndexOutOfBoundsException
Can you help?
<xforms:SfListView Grid.Row="1" x:Name="hlist" Orientation="Vertical" BackgroundColor="Transparent" Margin="10,15,10,10" VerticalOptions="Start" ItemsSource="{Binding ScroreDetailDto, Mode=TwoWay}" AutoFitMode="DynamicHeight" SelectionMode="None" >
<xforms:SfListView.ItemTemplate>
<DataTemplate x:DataType="dtos:ScoreHistoryDto">
<Frame x:Name="frame" CornerRadius="2" VerticalOptions="Start" Padding="{OnPlatform Android=1, iOS=1, UWP=0}" Margin="{OnPlatform Android=1, iOS=1, UWP=0}" OutlineColor="White" HasShadow="{OnPlatform Android=true, iOS=false, UWP=true}">
<Grid Padding="{OnPlatform Android=2, iOS=2, UWP=0}" Margin="{OnPlatform Android=1, iOS=1, UWP=0}" BackgroundColor="White" >
<expander:SfExpander HeaderIconPosition="None" AnimationEasing="{Binding Animation}" >
<expander:SfExpander.Header>