I'm developing a mobile app in Xamarin.Android using MvvmCross. In my app, I have added a button which should open a dialog fragment window when clicked. I went through the available tutorials but could not find proper solution. Has anyone tried implementing it ?

1 upvote
  flag
Please post some code you have tried till now – dipak_pusti
upvote
  flag
Dialog fragment is bind to viewmodel by using : return this.BindingInflate(Resource.Layout.FragmentTest,null); In axml of activity : app:MvxBind="Click OpenDialogCommand; In viewmodel of activity : public IMvxCommand LoginCommand { get { return new MvxCommand(() => { ShowViewModel<DialogFragmentViewModel>(); }); } } – samira sharma
upvote
  flag
can you please edit your post and add that code? Also it would be nice to see how have you declarated your dialog fragment – nmilcoff
upvote
  flag
I solved the problem using navigation service to navigate dialog fragment. – samira sharma

0 Answers 11

Not the answer you're looking for? Browse other questions tagged or ask your own question.