Example #1
0
 protected override void OnDisappearing()
 {
     base.OnDisappearing();
     PasswordCell.Dispose();
     EmailCell.Dispose();
     PasswordCell.Entry.Completed -= Entry_Completed;
 }
Example #2
0
        protected override void OnDisappearing()
        {
            base.OnDisappearing();
            PasswordCell?.Dispose();
            TotpCell?.Dispose();
            UsernameCell?.Dispose();
            UriCell?.Dispose();
            NameCell?.Dispose();
            NotesCell?.Dispose();
            FolderCell?.Dispose();

            if (PasswordCell?.Button != null)
            {
                PasswordCell.Button.Clicked -= PasswordButton_Clicked;
            }
            if (TotpCell?.Button != null)
            {
                TotpCell.Button.Clicked -= TotpButton_Clicked;
            }
            if (GenerateCell != null)
            {
                GenerateCell.Tapped -= GenerateCell_Tapped;
            }
            if (DeleteCell != null)
            {
                DeleteCell.Tapped -= DeleteCell_Tapped;
            }
        }
Example #3
0
 protected override void OnDisappearing()
 {
     base.OnDisappearing();
     EmailCell.Dispose();
     PasswordCell.Dispose();
     PasswordHintCell.Dispose();
     ConfirmPasswordCell.Dispose();
     PasswordHintCell.Entry.Completed -= Entry_Completed;
     StackLayout.LayoutChanged        -= Layout_LayoutChanged;
 }
Example #4
0
 protected override void OnDisappearing()
 {
     base.OnDisappearing();
     PasswordCell.Dispose();
     UsernameCell.Dispose();
     UriCell.Dispose();
     NameCell.Dispose();
     NotesCell.Dispose();
     FolderCell.Dispose();
     PasswordCell.Button.Clicked -= PasswordButton_Clicked;
     GenerateCell.Tapped         -= GenerateCell_Tapped;
 }