File tree Expand file tree Collapse file tree 3 files changed +2
-24
lines changed
EmptyViewTemplateDemo/EmptyViewTemplateDemo Expand file tree Collapse file tree 3 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 8888 <PackageReference Include =" Syncfusion.Maui.GridCommon" Version =" 20.31.201" />
8989 <PackageReference Include =" Syncfusion.Maui.ListView" Version =" 20.31.214" />
9090 </ItemGroup >
91-
92- <ItemGroup >
93- <MauiXaml Update =" View\MainPage.xaml" >
94- <Generator >MSBuild:Compile</Generator >
95- </MauiXaml >
96- </ItemGroup >
97-
91+
9892</Project >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ private void InitialSorting()
3636 protected override void OnAttachedTo ( ContentPage bindable )
3737 {
3838 ListView = bindable . FindByName < Syncfusion . Maui . ListView . SfListView > ( "listView" ) ;
39- sortingFilteringViewModel = new SortingFilteringViewModel ( ) ;
40- ListView . BindingContext = sortingFilteringViewModel ;
39+ sortingFilteringViewModel = bindable . FindByName < SortingFilteringViewModel > ( "viewModel" ) ;
4140 ListView . ItemsSource = sortingFilteringViewModel . Items ;
4241
4342 headerGrid = bindable . FindByName < Grid > ( "headerGrid" ) ;
You can’t perform that action at this time.
0 commit comments