Sharpnado.CollectionView.Maui 3.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sharpnado.CollectionView.Maui --version 3.1.1                
NuGet\Install-Package Sharpnado.CollectionView.Maui -Version 3.1.1                
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.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sharpnado.CollectionView.Maui --version 3.1.1                
#r "nuget: Sharpnado.CollectionView.Maui, 3.1.1"                
#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.
// Install Sharpnado.CollectionView.Maui as a Cake Addin
#addin nuget:?package=Sharpnado.CollectionView.Maui&version=3.1.1

// Install Sharpnado.CollectionView.Maui as a Cake Tool
#tool nuget:?package=Sharpnado.CollectionView.Maui&version=3.1.1                

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 Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-android33.0 is compatible.  net7.0-ios was computed.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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 11,724 1/26/2024
3.1.1 668 1/17/2024
3.1.0 283 1/15/2024
3.0.0 17,640 12/7/2022

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