Using MvxCommand With CommandParameter binding

后端 未结 2 758
旧时难觅i
旧时难觅i 2021-01-04 12:42

I\'m trying using fire MvxCommand with CommandParameter, but faced with following problem: MyView.axml contains:



        
2条回答
  •  逝去的感伤
    2021-01-04 13:35

    Your code is working for me on the Head of my source tree.

    But this functionality is only two weeks old.

    My guess is that this feature either didn't make it into the release that you are working with or there was a bug with it.

    Can you check your debug trace for this binding? Is there any information there?

    • If the trace suggests that CommandParameter is an unknown symbol then my guess is that you will need to either build the latest source yourself - or to wait for a new release.
    • If the trace suggests something else then you may be able to patch the problem during setup.

    One thing I know we did fix was a value converter issue where the Cirrious.MvvmCross.Binding.dll based ValueConverter's weren't being just by overriding Setup.ValueConverterAssemblies to register the ValueConverter required for this CommandParameter

提交回复
热议问题