tag:blogger.com,1999:blog-13459850.post7981807089601995927..comments2023-10-15T08:07:08.589+00:00Comments on Forwards: CommandParameter bindingUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-13459850.post-69693231232125704822013-07-04T21:04:53.486+00:002013-07-04T21:04:53.486+00:00This should be in the beta packages (visible if pr...This should be in the beta packages (visible if pre-release is chosen). Further i believe it is in the stable release *except* it requires the special command parameter value converter to be manually registered. Slodgehttps://www.blogger.com/profile/17827379022934338119noreply@blogger.comtag:blogger.com,1999:blog-13459850.post-3617327040480702572013-07-04T13:41:32.436+00:002013-07-04T13:41:32.436+00:00When will this be released through Nuget? It still...When will this be released through Nuget? It still doesn't appear to be in the latest packages.David Francishttps://www.blogger.com/profile/05785628095189178516noreply@blogger.comtag:blogger.com,1999:blog-13459850.post-25159475432921051262013-06-21T07:00:25.268+00:002013-06-21T07:00:25.268+00:00Sadly the missing <> are part of blogger :/ ...Sadly the missing <> are part of blogger :/ Will move to a markdown based blog one day.<br /><br />The code you've posted works here - maybe post a fuller example on StackOverflow or a repo on Github. The code was committed 17 days ago so it should be in the latest release packages https://github.com/slodge/MvvmCross/commit/a71b7c08f7af899d59a20e140a6fe5cff36c3d24Slodgehttps://www.blogger.com/profile/17827379022934338119noreply@blogger.comtag:blogger.com,1999:blog-13459850.post-35041886636260072142013-06-21T05:55:46.441+00:002013-06-21T05:55:46.441+00:00Hi, Slodge!
new MvxCommand(day => DoAction(day)...Hi, Slodge!<br />new MvxCommand(day => DoAction(day));<br /><br />Did you mean:<br />new MvxCommand<string>(day => DoAction(day));<br /><br />But in this case day equals null :(<br />What I'm doing wrong?<br /><br /><Button<br /> android:text="myButton"<br /> android:id="@+id/changeToAppetite"<br /> local:MvxBind="Click MyCommand, CommandParameter=sometext" /><br /><br />MyCommand= new MvxCommand<string>(param =><br />{<br /> if (param == "sometext") // there param == null<br /> {<br /> ...<br /> }<br />}enterpredatorhttps://www.blogger.com/profile/12832160169833165538noreply@blogger.comtag:blogger.com,1999:blog-13459850.post-56073603112748274092013-06-12T13:25:42.959+00:002013-06-12T13:25:42.959+00:00Thank you, sir! :)Thank you, sir! :)rickduartehttps://www.blogger.com/profile/04526240909619093157noreply@blogger.com