VOOZH about

URL: https://www.nuget.org/packages/Sharpnado.CollectionView.Maui/

⇱ NuGet Gallery | Sharpnado.CollectionView.Maui 3.1.2




👁 Image
Sharpnado.CollectionView.Maui 3.1.2

dotnet add package Sharpnado.CollectionView.Maui --version 3.1.2
 
 
NuGet\Install-Package Sharpnado.CollectionView.Maui -Version 3.1.2
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sharpnado.CollectionView.Maui" Version="3.1.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sharpnado.CollectionView.Maui" Version="3.1.2" />
 
Directory.Packages.props
<PackageReference Include="Sharpnado.CollectionView.Maui" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sharpnado.CollectionView.Maui --version 3.1.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sharpnado.CollectionView.Maui, 3.1.2"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sharpnado.CollectionView.Maui@3.1.2
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sharpnado.CollectionView.Maui&version=3.1.2
 
Install as a Cake Addin
#tool nuget:?package=Sharpnado.CollectionView.Maui&version=3.1.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Sharpnado's CollectionView

  • Performance oriented
  • Horizontal, Grid, Carousel or Vertical layout
  • Header, Footer and GroupHeader
  • Reveal custom animations
  • Drag and Drop
  • Column count
  • Infinite loading with Paginator component
  • Snapping on first or middle element
  • Padding and item spacing
  • Handles NotifyCollectionChangedAction Add, Remove and Reset actions
  • View and data template recycling
  • RecyclerView on Android
  • UICollectionView on iOS

Installation

  • In Core project, in MauiProgram.cs:
public static MauiApp CreateMauiApp()
{
 var builder = MauiApp.CreateBuilder();
 builder
 .UseMauiApp()
 .UseSharpnadoCollectionView(loggerEnable: false);
}

Usage


<sho:GridView
 x:Name="HorizontalListView"
 CollectionPadding="30"
 ColumnCount="3"
 EnableDragAndDrop="True"
 HeightRequest="390"
 HorizontalOptions="Fill"
 ItemHeight="110"
 ItemsSource="{Binding Logo, Mode=OneTime}" />


<sho:CollectionView
 CollectionLayout="Vertical"
 CollectionPadding="0,30,0,30"
 CurrentIndex="{Binding CurrentIndex}"
 ItemHeight="120"
 ItemTemplate="{StaticResource HeaderFooterGroupingTemplateSelector}"
 ItemsSource="{Binding SillyPeople}"
 ScrollBeganCommand="{Binding OnScrollBeginCommand}"
 ScrollEndedCommand="{Binding OnScrollEndCommand}"
 TapCommand="{Binding TapCommand}" />


<sho:CarouselView />


<sho:HorizontalListView />
Product Versions Compatible and additional computed target framework versions.
.NET net7.0 net7.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-android33.0 net7.0-android33.0 is compatible.  net7.0-ios net7.0-ios was computed.  net7.0-ios16.1 net7.0-ios16.1 is compatible.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.2 89,439 1/26/2024
3.1.1 1,277 1/17/2024
3.1.0 510 1/15/2024
3.0.0 29,284 12/7/2022

Fix 2 memory leaks on iOS and another on Android thanks to @AdamEssenmacher.
Adds the UpdateLayout() method to force a layout update.