File tree Expand file tree Collapse file tree 7 files changed +23
-29
lines changed
FilterListView/FilterListView Expand file tree Collapse file tree 7 files changed +23
-29
lines changed Original file line number Diff line number Diff line change 1616 <MonoAndroidResourcePrefix >Resources</MonoAndroidResourcePrefix >
1717 <MonoAndroidAssetsPrefix >Assets</MonoAndroidAssetsPrefix >
1818 <AndroidUseLatestPlatformSdk >false</AndroidUseLatestPlatformSdk >
19- <TargetFrameworkVersion >v8.1 </TargetFrameworkVersion >
19+ <TargetFrameworkVersion >v9.0 </TargetFrameworkVersion >
2020 <AndroidHttpClientHandlerType >Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType >
2121 <NuGetPackageImportStamp >
2222 </NuGetPackageImportStamp >
5050 </ItemGroup >
5151 <ItemGroup >
5252 <PackageReference Include =" Syncfusion.Xamarin.SfListView" >
53- <Version >17.2 .0.34 </Version >
53+ <Version >18.4 .0.35 </Version >
5454 </PackageReference >
5555 <PackageReference Include =" Syncfusion.Xamarin.SfPullToRefresh" >
56- <Version >17.2 .0.34 </Version >
56+ <Version >18.4 .0.35 </Version >
5757 </PackageReference >
58- <PackageReference Include =" Xamarin.Forms" Version =" 4.1 .0.555618 " />
58+ <PackageReference Include =" Xamarin.Forms" Version =" 4.5 .0.617 " />
5959 </ItemGroup >
6060 <ItemGroup >
6161 <Compile Include =" MainActivity.cs" />
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" utf-8" ?>
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
22<manifest xmlns : android =" http://schemas.android.com/apk/res/android" android : versionCode =" 1" android : versionName =" 1.0" package =" com.companyname.FilterListView" >
3- <uses-sdk android : minSdkVersion =" 21" android : targetSdkVersion =" 27 " />
4- <application android : label =" FilterListView.Android" ></application >
5- </manifest >
3+ <uses-sdk android : minSdkVersion =" 21" android : targetSdkVersion =" 28 " />
4+ <application android : label =" FilterListView.Android" ></application >
5+ </manifest >
Original file line number Diff line number Diff line change 1111 <AssemblyName >FilterListView.UWP</AssemblyName >
1212 <DefaultLanguage >en-US</DefaultLanguage >
1313 <TargetPlatformIdentifier >UAP</TargetPlatformIdentifier >
14- <TargetPlatformVersion >10.0.16299 .0</TargetPlatformVersion >
15- <TargetPlatformMinVersion >10.0.16299 .0</TargetPlatformMinVersion >
14+ <TargetPlatformVersion >10.0.17763 .0</TargetPlatformVersion >
15+ <TargetPlatformMinVersion >10.0.17763 .0</TargetPlatformMinVersion >
1616 <MinimumVisualStudioVersion >14</MinimumVisualStudioVersion >
1717 <EnableDotNetNativeCompatibleProfile >true</EnableDotNetNativeCompatibleProfile >
1818 <FileAlignment >512</FileAlignment >
149149 </ItemGroup >
150150 <ItemGroup >
151151 <PackageReference Include =" Syncfusion.Xamarin.SfListView" >
152- <Version >17.2 .0.34 </Version >
152+ <Version >18.4 .0.35 </Version >
153153 </PackageReference >
154154 <PackageReference Include =" Syncfusion.Xamarin.SfPullToRefresh" >
155- <Version >17.2 .0.34 </Version >
155+ <Version >18.4 .0.35 </Version >
156156 </PackageReference >
157- <PackageReference Include =" Xamarin.Forms" Version =" 4.1 .0.555618 " />
157+ <PackageReference Include =" Xamarin.Forms" Version =" 4.5 .0.617 " />
158158 <PackageReference Include =" Microsoft.NETCore.UniversalWindowsPlatform" Version =" 6.1.5" />
159159 </ItemGroup >
160160 <ItemGroup >
Original file line number Diff line number Diff line change 149149 </ItemGroup >
150150 <ItemGroup >
151151 <PackageReference Include =" Syncfusion.Xamarin.SfListView" >
152- <Version >17.2 .0.34 </Version >
152+ <Version >18.4 .0.35 </Version >
153153 </PackageReference >
154154 <PackageReference Include =" Syncfusion.Xamarin.SfPullToRefresh" >
155- <Version >17.2 .0.34 </Version >
155+ <Version >18.4 .0.35 </Version >
156156 </PackageReference >
157- <PackageReference Include =" Xamarin.Forms" Version =" 4.1 .0.555618 " />
157+ <PackageReference Include =" Xamarin.Forms" Version =" 4.5 .0.617 " />
158158 </ItemGroup >
159159 <Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
160160 <ItemGroup >
Original file line number Diff line number Diff line change 3232 </ItemGroup >
3333
3434 <ItemGroup >
35- <PackageReference Include =" Syncfusion.Xamarin.SfListView" Version =" 17.2 .0.34 " />
36- <PackageReference Include =" Syncfusion.Xamarin.SfPullToRefresh" Version =" 17.2 .0.34 " />
37- <PackageReference Include =" Xamarin.Forms" Version =" 4.1 .0.555618 " />
35+ <PackageReference Include =" Syncfusion.Xamarin.SfListView" Version =" 18.4 .0.35 " />
36+ <PackageReference Include =" Syncfusion.Xamarin.SfPullToRefresh" Version =" 18.4 .0.35 " />
37+ <PackageReference Include =" Xamarin.Forms" Version =" 4.5 .0.617 " />
3838 </ItemGroup >
3939</Project >
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ protected override void OnAttachedTo(ContentPage bindable)
2727 secondLV . BindingContext = viewModel ;
2828 button . BindingContext = viewModel ;
2929 firstLV . ItemsSource = viewModel . FirstLVCollection ;
30- firstLV . ItemsSource = viewModel . SecondLVCollection ;
30+ secondLV . ItemsSource = viewModel . SecondLVCollection ;
3131
3232 viewModel . firstLV = firstLV ;
3333 viewModel . secondLV = secondLV ;
Original file line number Diff line number Diff line change 44 xmlns : local =" clr-namespace:Swiping"
55 xmlns : syncfusion =" clr-namespace:Syncfusion.ListView.XForms;assembly=Syncfusion.SfListView.XForms"
66 xmlns : pulltoRefresh =" clr-namespace:Syncfusion.SfPullToRefresh.XForms;assembly=Syncfusion.SfPullToRefresh.XForms"
7- xmlns : data =" clr-namespace:Syncfusion.DataSource;assembly=Syncfusion.DataSource.Portable"
87 x : Class =" Swiping.MainPage" >
98
109 <ContentPage .Behaviors>
1110 <local : ContentPageBehavior />
1211 </ContentPage .Behaviors>
13-
14- <ContentPage .BindingContext>
15- <local : ListViewSwipingViewModel x : Name =" viewModel" />
16- </ContentPage .BindingContext>
1712
1813 <ContentPage .Resources>
1914 <ResourceDictionary >
247242 </RowDefinition >
248243 </Grid .RowDefinitions>
249244 <syncfusion : SfListView x : Name =" firstLV" Grid.Row=" 0"
250- ItemsSource =" {Binding FirstLVCollection}"
251245 SelectionMode =" Single"
252- ItemSize =" 80"
246+ ItemSize =" 80" IsScrollingEnabled = " False "
253247 ItemTemplate =" {StaticResource pinnedItemTemplate}" >
254248
255249 <syncfusion : SfListView .Behaviors>
262256 Command =" {Binding BindingContext.ResetTapCommand,Source={x:Reference Name=secondLV}}" CommandParameter =" {Binding .}" />
263257
264258 <syncfusion : SfListView x : Name =" secondLV" Grid.Row=" 2" BackgroundColor =" AliceBlue" VerticalOptions =" FillAndExpand" HorizontalOptions =" FillAndExpand"
265- ItemsSource = " {Binding SecondLVCollection} " ItemTemplate =" {StaticResource ItemTemplate}"
266- AllowSwiping =" True"
259+ ItemTemplate =" {StaticResource ItemTemplate}"
260+ AllowSwiping =" True"
267261 SelectionMode =" None" SwipeOffset =" 120"
268262 ItemSize =" 80" >
269263 <syncfusion : SfListView .LeftSwipeTemplate>
You can’t perform that action at this time.
0 commit comments