From 6d386d60f0e51fc8af2af7588a4def80e22ed926 Mon Sep 17 00:00:00 2001 From: Anandh Ganesan Date: Wed, 20 Aug 2025 18:40:35 +0530 Subject: [PATCH 1/3] Updated the README.md file. --- README.md | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) diff --git a/README.md b/README.md index 9127e01..2fa0f1e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,142 @@ # How to animate the listview items? This example demonstrates how to the animation the listview items while scrolling. +## Sample + +```xaml + + + + + + + + + + + + 40 + 40 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` + ## Requirements to run the demo ## From 95f4a145e5cc6298742df06d0f036caac2286148 Mon Sep 17 00:00:00 2001 From: PiruthivirajM <44426156+PiruthivirajM@users.noreply.github.com> Date: Thu, 21 Aug 2025 15:19:16 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 148 +++++++++++------------------------------------------- 1 file changed, 30 insertions(+), 118 deletions(-) diff --git a/README.md b/README.md index 2fa0f1e..a2d2922 100644 --- a/README.md +++ b/README.md @@ -4,137 +4,49 @@ This example demonstrates how to the animation the listview items while scrollin ## Sample ```xaml - - - - - - - - - - - - 40 - 40 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + TextColor="Teal"/> + . . . + . . . - - + + public class ItemGeneratorExt : ItemGenerator + { + public ItemGeneratorExt(SfListView listview) : base(listview) + { + + } + protected override ListViewItem OnCreateListViewItem(int itemIndex, ItemType type, object data = null) + { + if (type == ItemType.Record) + return new ListViewItemExt(); + return base.OnCreateListViewItem(itemIndex, type, data); + } + } + +listView.ItemGenerator = new ItemGeneratorExt(listView); ``` From dad99a889f75b326995b52c26dd5ca377bc553f6 Mon Sep 17 00:00:00 2001 From: PiruthivirajM <44426156+PiruthivirajM@users.noreply.github.com> Date: Thu, 21 Aug 2025 15:19:54 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a2d2922..187d9c6 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,18 @@ This example demonstrates how to the animation the listview items while scrollin return base.OnCreateListViewItem(itemIndex, type, data); } } + public class ListViewItemExt : ListViewItem + { + public ListViewItemExt() + { + } + protected override void OnItemAppearing() + { + this.Opacity = 0; + this.FadeTo(1, 400, Easing.SinInOut); + base.OnItemAppearing(); + } + } listView.ItemGenerator = new ItemGeneratorExt(listView); ```