How To Set Selected Item In Mvxspinner
I have an MvxSpinner that is bound to a List thus:
Solution 1:
The binding
SelectedItem SelectedPhotoCategory
should set this for you - and should use Equals
to find the correct item to select in the spinner.
This certainly seems to work in the very latest code when testing using the SpinnerViewModel in https://github.com/slodge/MvvmCross-Tutorials/tree/master/ApiExamples
I know there was a bug reported recently on the use of ==
versus Equals
in one of the bindings - but I don't think this effects the spinner (see https://github.com/slodge/MvvmCross/issues/309).
Post a Comment for "How To Set Selected Item In Mvxspinner"