I am using MvvmCross v3.06 and I have defined MvxListView in android linked to a list. I see a list, but I canβt find a better way to get the item that is selected when I click on it.
I am currently doing the following in OnCreate for this operation, but this is not particularly MVVM, and I wondered if there is a better way to bind?
var list = FindViewById<MvxListView>(Resource.Id.subslist); list.ItemClick = ((MyViewModel)ViewModel).ItemSelectedCommand;
I cannot find any documentation on the best way to do this, so any help would be great.
Johnb source share