Exemple #1
0
 public ViewDataBindingsHolder(View rootView, ViewModelBase viewModel, LayoutInflater layoutInflater, string idPrefix)
 {
     this.viewModel = viewModel;
     bindings       = new ViewDataBindings(rootView, viewModel, layoutInflater, idPrefix);
     bindings.EnsureCommandBindings();  // Then add any command bindings that were not specified in code (based on the Id naming convention)
     AddHandlers();
     viewModel.RaisePropertiesChanged();
 }