Beispiel #1
0
 public SharePage(string cipherId)
 {
     InitializeComponent();
     _vm          = BindingContext as SharePageViewModel;
     _vm.Page     = this;
     _vm.CipherId = cipherId;
     SetActivityIndicator();
     _organizationPicker.ItemDisplayBinding = new Binding("Key");
 }
Beispiel #2
0
 public SharePage(string cipherId)
 {
     InitializeComponent();
     _vm          = BindingContext as SharePageViewModel;
     _vm.Page     = this;
     _vm.CipherId = cipherId;
     SetActivityIndicator();
     if (Device.RuntimePlatform == Device.Android)
     {
         ToolbarItems.RemoveAt(0);
     }
     _organizationPicker.ItemDisplayBinding = new Binding("Key");
 }