Exemple #1
0
        protected override void OnNavigatedTo(bool isInHistory, CompositeDisposable disposables)
        {
            base.OnNavigatedTo(isInHistory, disposables);

            Disposable.Create(() =>
            {
                CancelCts.Cancel();
                CancelCts.Dispose();
            })
            .DisposeWith(disposables);
        }
Exemple #2
0
        protected override void OnNavigatedTo(bool inStack, CompositeDisposable disposable)
        {
            base.OnNavigatedTo(inStack, disposable);

            Disposable.Create(() =>
            {
                CancelCts.Cancel();
                CancelCts.Dispose();
            })
            .DisposeWith(disposable);
        }
Exemple #3
0
    protected override void OnNavigatedTo(bool isInHistory, CompositeDisposable disposables)
    {
        base.OnNavigatedTo(isInHistory, disposables);

        var enableCancel = Services.WalletManager.HasWallet();

        SetupCancel(enableCancel: false, enableCancelOnEscape: enableCancel, enableCancelOnPressed: false);

        disposables.Add(Disposable.Create(() =>
        {
            CancelCts.Cancel();
            CancelCts.Dispose();
        }));
    }