Do you have a sample project that shows how to use SFListView swipetemplate with MVVM. The SFListView must have 2 entry controls in the datatemplate (entry1 & entry2) and 2 button controls in the leftswipetemplate (button1 & button2). Each button needs to fire a command in the ViewModel. When button1 on a specific row is clicked, it needs to reset values of entry1 & entry2 to "UNKNOWN" (for that specific row) as well as update the itemsource data. I will also like to see a sample where at the click on a button on the page, all rows for entry1 and entry2 will be set to "UNKNOWN" (something like a reset all button) as well as update the itemsource data.
I have gone through the documentation and forums and seen different examples that have one or more features described above but have not been able to tie everything together to get what I want. Is this even do-able using MVVM?
DBDinesh Babu Yadav Syncfusion Team April 22, 2019 03:01 AM
Thanks for using Syncfusion products.
We have checked your requirement from our end. We have prepared the sample based on the information given by you and changed the entry value of the swiped item. We have attached the sample for your reference and you can download it from the below link.
SRSangeetha Raju Syncfusion Team August 19, 2019 04:04 AM
We have checked the reported query “Crash occurs when using button in SwipeTemplate” from our side. We would like to let you know that we didn’t face any crash as reported while using button with command. We have attached the tested sample for your reference. Please download the sample from the below link.