private void InitEvents() { if (TokenCell != null) { TokenCell.InitEvents(); TokenCell.Entry.Completed += Entry_Completed; } }
protected override void OnAppearing() { base.OnAppearing(); ListenYubiKey(true); if (TokenCell != null) { TokenCell.InitEvents(); TokenCell.Entry.Completed += Entry_Completed; } else if (Device.RuntimePlatform == Device.Android) { MessagingCenter.Send(Application.Current, "DismissKeyboard"); } }