SFList item click animation

hi,

how i can translete into MAUI from Xamarin form this? (i found this in xamarin forms doc but not in MAUI doc)

thanks


    public class SelectionControllerExt : SelectionController

    {

        SfListView listView;

        public SelectionControllerExt(SfListView _listView) : base(_listView)

        {

            listView = _listView;

        }


        protected override async void AnimateSelectedItem(ListViewItem selectedListViewItem)

        {

            base.AnimateSelectedItem(selectedListViewItem);

            await Task.WhenAll(

                selectedListViewItem.FadeTo(0.3, 150, Easing.SinInOut),

                selectedListViewItem.ScaleTo(0.8, 150, Easing.SinInOut)

                            );

            await Task.WhenAll(

               selectedListViewItem.FadeTo(1, 150, Easing.SinInOut),

               selectedListViewItem.ScaleTo(1, 150, Easing.SinInOut)

                           );

            listView.SelectedItems.Clear();

        }

    }



7 Replies

SY Suthi Yuvaraj Syncfusion Team December 29, 2023 02:55 PM UTC

Hi Luca,

We have analyzed the reported query and is currently in the process of transferring our knowledge base examples to Maui. We have prioritized the inclusion of the sample you requested and will provide you with additional details as soon as they become available. Additionally, we have attached a sample that demonstrates how to animate newly added items in SfListView for your refrence.Please have a look at the sample and let us know if you have any concerns.

Meanwhile , the code snippet you've provided for applying animation to a selected item, we kindly request that you share more specific details about your requirements and the code snippet itself. Kindly share your exact requirement and the details about the code snippet to find the solution as soon as possible.

Regards,

Suthi Yuvaraj.


Attachment: ListView_4800b482.zip


LU Luca December 29, 2023 02:59 PM UTC

hi,

in XF i'm using your example here

https://help.syncfusion.com/xamarin/listview/selection#programmatic-animation


i'm asking how to do the same in MAUI.

(apply an animation when i click on a list item)

thanks



SY Suthi Yuvaraj Syncfusion Team January 2, 2024 02:28 PM UTC

Luca,

We have analyzed your requirement for animation for selection. we are able to replicate the same at our end. we are currently validating the issue at our end. we will update you with further details on or before January 5, 2024. We will appreciate your patience then.



LU Luca January 2, 2024 02:35 PM UTC

thanks a lot! good year!



SY Suthi Yuvaraj Syncfusion Team January 8, 2024 03:18 PM UTC

Luca , 


We can reproduce the issue and find the root cause of the issue , we have logged the report for requested feature and we are currently working on it.We will fix the issue in our upcoming nuget release , which is planned to rolled out on January 30, 2024.We will appreciate your patience until then.



SY Suthi Yuvaraj Syncfusion Team January 11, 2024 03:57 AM UTC

Luca,


you can follow the feedback for further updates.

Feedback link: https://www.syncfusion.com/feedback/49793/support-for-animate-selected-item-in-net-maui-sflistview

  

Note: The provided feedback link is private, you need to log in to view this feedback. If you have any more specifications/suggestions for the feature request, you can add them as a comment in the portal and cast your vote to make it count.  



SY Suthi Yuvaraj Syncfusion Team February 7, 2024 01:33 PM UTC

Luca,

Sorry for the delay,

We have fixed the reported issue and published the required user guide documentation, we are glad to announce that our Essential Studio 2023 Volume 4 SP Release V24.2.3 is rolled out and is available for download under the following link.


Essential Studio 2023 Volume 4 Service Pack Release v24.2.3 is available for download | Announcements Forums | Syncfusion  

UG Link:https://help.syncfusion.com/maui/listview/selection#programmatic-animation

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Loader.
Up arrow icon