How do you bind a dialog widget with a class?
As you've already found, you can do this using:
var dialog = new NameDialogFragment();
dialog.ViewModel = HomeViewModel.Names;
dialog.Show(SupportFragmentManager, NameDialogTagName);
My listitem does not have a view associated to it. It has a viewmodel though. How do I go about showing a dialog when the listitem is clicked???
In general I do this use the Interaction
pattern - see UI action in middle of MvxCommand for a worked example
what is the rational for the snippet
It was probably to assist with Android rotation issues.
In general I don't do this much - I normally just turn Android's auto-rotation handling off and handle rotation myself instead.