This repository has been archived by the owner on May 1, 2024. It is now read-only.
Xamarin.Forms : CommandParameter no longer working on buttons in a listview (MVVM + Prism) #9238
Labels
i/regression
s/needs-repro ❔
This reported issue doesn't include a sample project reproducing the issue. Please provide one.
s/unverified
New report that has yet to be verified
t/bug 🐛
I have a project with various types of pages that contain listviews with labels and buttons inside a data template. The list views have been populating correctly all along untill my last Xamarin.Forms upgrade to version 4.4.0.991477. Now when the pages load the listviews are empty but if you hover over them you see the rows have been created - they are just blank. If i remove the CommandParameter from the buttons that are in the list view, the lists will populate correctly and triggers the command in the ViewModel however no parameter is passed when you click the buttons (obviously coz the CommandParameter has been removed). In addition, if you select the row, the event is triggered correctly with the correct data. i have tried all methods of including the CommandParameter but each of them make the lists populate empty rows. The code has been working all along till the upgrade
Steps to Reproduce
Expected Behavior
The listviews should populate with all controls including buttons. The buttons should also work accordingly when clicked
Actual Behavior
The listviews are created with empty rows. If you hover over with a mouse you will see the rows that have been created but at first sight it just looks like an empty page
Basic Information
The code has been working till the update
Screenshots
Reproduction Link
Workaround
I am going to try to roll back Xamarin.Forms
The text was updated successfully, but these errors were encountered: