Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syncfusionexamples/xamarin-how-to-pass-the-item-data-as-command-parameter-in-itemtapped-command
This example demonstrates how to pass the itemdata alone in viewmodel instead eventargs using tap command in listview.
https://github.com/syncfusionexamples/xamarin-how-to-pass-the-item-data-as-command-parameter-in-itemtapped-command
mvvm xamarin xamarin-forms xamarin-listview
Last synced: about 1 month ago
JSON representation
This example demonstrates how to pass the itemdata alone in viewmodel instead eventargs using tap command in listview.
- Host: GitHub
- URL: https://github.com/syncfusionexamples/xamarin-how-to-pass-the-item-data-as-command-parameter-in-itemtapped-command
- Owner: SyncfusionExamples
- Created: 2018-10-30T06:32:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T10:12:03.000Z (6 months ago)
- Last Synced: 2024-07-22T12:17:32.716Z (6 months ago)
- Topics: mvvm, xamarin, xamarin-forms, xamarin-listview
- Language: C#
- Homepage:
- Size: 1.73 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to pass the item data as command parameter in ItemTapped command
This example demonstrates how to pass the itemdata alone in viewmodel instead eventargs using tap command in listview.
See [How to pass the item data as command parameter in ItemTapped command](https://www.syncfusion.com/kb/9318/how-to-pass-the-item-data-as-command-parameter-in-itemtapped-command) for more details.
## Requirements to run the demo
* [Visual Studio 2017](https://visualstudio.microsoft.com/downloads/) or [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/).
* Xamarin add-ons for Visual Studio (available via the Visual Studio installer).## Troubleshooting
### Path too long exception
If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.