public AttachmentsPage(string cipherId) { InitializeComponent(); _broadcasterService = ServiceContainer.Resolve <IBroadcasterService>("broadcasterService"); _vm = BindingContext as AttachmentsPageViewModel; _vm.Page = this; _vm.CipherId = cipherId; SetActivityIndicator(); }
public AttachmentsPage(string cipherId) { InitializeComponent(); _broadcasterService = ServiceContainer.Resolve <IBroadcasterService>("broadcasterService"); _vm = BindingContext as AttachmentsPageViewModel; _vm.Page = this; _vm.CipherId = cipherId; SetActivityIndicator(); if (Device.RuntimePlatform == Device.Android) { ToolbarItems.RemoveAt(0); } }