We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The binding layer could automatically allow command/action binding to:
public void DoSomething() { // code } public void DoSelect(MyListItem selected) { // code }
It could automatically create an ICommand wrapper for these methods, allowing binding like:
local:mvxBind="Click DoSomething"
or
local:mvxBind="ItemsSource Items; ItemClick DoSelect"
The text was updated successfully, but these errors were encountered:
What rules would apply for the DoSelect scenario? How would the runtime know what value it should pass as selected?
DoSelect
selected
Sorry, something went wrong.
This is normally determined by the view or by the binding itself.
eg see https://github.com/slodge/MvvmCross/blob/v3/Cirrious/Cirrious.MvvmCross.Binding.Droid/Views/MvxListView.cs#L102
There is an option to add a fixed command parameter - there's a blog post on this (sorry - on mobile so too hard to find link right now)
documented in video and N+1 sample now... as well as in wiki entry... so closing
The N+1 video is here: http://www.youtube.com/watch?v=8-5XQlcVj2Y#t=1071. The link starts the video at the appropriate time. Before that, FieldBinding is explained.
No branches or pull requests
The binding layer could automatically allow command/action binding to:
It could automatically create an ICommand wrapper for these methods, allowing binding like:
or
The text was updated successfully, but these errors were encountered: