public override void OnAppearing(object navigationContext)
        {
            BandClient = navigationContext as BandClient;
            _notifiactionManager = BandClient.NotificationManager;

            base.OnAppearing(navigationContext);
        }
        public override void OnAppearing(object navigationContext)
        {
            var notificationData = navigationContext as NotificationData;
            BandClient = notificationData.BandClient;
            _tile = notificationData.Tile;
            _notifiactionManager = BandClient.NotificationManager;

            base.OnAppearing(navigationContext);
        }
		public VibrationsViewModel(BandDeviceInfo info, BandClient bandClient)
            : base(info, bandClient)
        {
            notifiactionManager = bandClient.NotificationManager;

            VibrateCommand = new Command(async () =>
            {
                await notifiactionManager.VibrateAsync((VibrationType)vibrationIndex);
            });
        }
        public NotificationsViewModel(BandDeviceInfo info, BandClient bandClient, BandTile tile)
            : base(info, bandClient)
        {
            notifiactionManager = bandClient.NotificationManager;
            this.tile = tile;

            SendMessageCommand = new Command(async () =>
            {
                await notifiactionManager.SendMessageAsync(tile.Id, Title, Body, DateTime.Now);
            });
            SendMessageWithDialogCommand = new Command(async () =>
            {
                await notifiactionManager.SendMessageAsync(tile.Id, Title, Body, DateTime.Now, true);
            });
            ShowDialogCommand = new Command(async () =>
            {
                await notifiactionManager.ShowDialogAsync(tile.Id, Title, Body);
            });
        }