Good afternoon, I have a problem with the SFListView, in the code that I show, everything worked correctly, when the search button is pressed, the client data is shown in the listview, if I press search again, the new data is displayed in the list view.
The problem is when I try to add a ScrollView after the buttons, the first search is displayed without problems in the listview, but I press the search button again, the listview seems to load but the items are not shown.
<ContentPage.Resources >
<ResourceDictionary >
<local:SelectionBoolToBackgroundColorConverter x:Key="BoolToColorConverter"/>
</ResourceDictionary >
</ContentPage.Resources >
<ContentPage.Content>
<StackLayout BackgroundColor="#F5F6F6">
<tabView:SfTabView VerticalOptions="FillAndExpand" DisplayMode="ImageWithText" HorizontalOptions="FillAndExpand" VisibleHeaderCount="2">
<tabView:SfTabItem Title="DATOS" ImageSource="expediente" TitleFontAttributes="Bold">
<tabView:SfTabItem.Content>
<StackLayout Orientation="Vertical">
<StackLayout Orientation="Horizontal" Spacing="0" Margin="0,-10,0,-20">
<input:SfTextInputLayout ContainerType="Outlined" FocusedColor="Purple" UnfocusedColor="Purple" OutlineCornerRadius="8" Hint="Codigo " Margin="10,10,0,10">
<Entry Keyboard="Numeric" x:Name="txt_Codigo"/>
</input:SfTextInputLayout>
<buttons:SfButton x:Name="btn_BuscarCodigo" Clicked="Btn_BuscarCodigo_Clicked" ImageSource="buscar" ShowIcon="True" ImageAlignment="End" Text="Buscar" HasShadow="True" CornerRadius="15" Margin="10,20,0,30" BackgroundColor="Orange"/>
<buttons:SfButton x:Name="btn_BuscarCliente" Clicked="Btn_BuscarCliente_Clicked" ImageSource="buscarClt" ShowIcon="True" ImageAlignment="End" Text="Buscar Cliente" HasShadow="True" CornerRadius="15" Margin="10,20,0,30" BackgroundColor="Orange"/>
</StackLayout>
<StackLayout >
<Label Text="TITULAR" x:Name="lbl_Titular" FontAttributes="Bold" TextColor="Purple" IsVisible="False" Margin="10,5,0,0"/>
<listview:SfListView x:Name="lvDatosExpediente" IsScrollingEnabled="False" AutoFitMode="Height" SelectionBackgroundColor="Transparent" ItemSpacing="5,0,5,0">
<listview:SfListView.ItemTemplate>
<DataTemplate x:Name="ItemTemplateE">
<Frame x:Name="frameE" HasShadow="True" Padding="0" Margin="1">
<Grid RowSpacing="0" ColumnSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Text="{Binding sTitulo}" FontAttributes="Bold" TextColor="Black" />
<Label Grid.Row="1" Grid.Column="0" Text="{Binding sData}" TextColor="Black" />
<Image Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" Source="{Binding sIcon}" HorizontalOptions="Center" VerticalOptions="Center"/>
</Grid>
</Frame>
</DataTemplate>
</listview:SfListView.ItemTemplate>
</listview:SfListView>