void ReleaseDesignerOutlets()
        {
            if (LicensesView != null)
            {
                LicensesView.Dispose();
                LicensesView = null;
            }

            if (PrivacyPolicyView != null)
            {
                PrivacyPolicyView.Dispose();
                PrivacyPolicyView = null;
            }

            if (TermsOfServiceView != null)
            {
                TermsOfServiceView.Dispose();
                TermsOfServiceView = null;
            }

            if (TopConstraint != null)
            {
                TopConstraint.Dispose();
                TopConstraint = null;
            }
        }
Пример #2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Title = Resources.About;

            PrivacyPolicyLabel.Text  = Resources.PrivacyPolicy;
            TermsOfServiceLabel.Text = Resources.TermsOfService;
            LicensesLabel.Text       = Resources.Licenses;

            PrivacyPolicyView.InsertSeparator(UIKit.UIRectEdge.Top);
            PrivacyPolicyView.InsertSeparator();
            TermsOfServiceView.InsertSeparator();
            LicensesView.InsertSeparator();

            LicensesView.Rx()
            .BindAction(ViewModel.OpenLicensesView)
            .DisposedBy(DisposeBag);

            PrivacyPolicyView.Rx()
            .BindAction(ViewModel.OpenPrivacyPolicyView)
            .DisposedBy(DisposeBag);

            TermsOfServiceView.Rx()
            .BindAction(ViewModel.OpenTermsOfServiceView)
            .DisposedBy(DisposeBag);
        }
Пример #3
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Title = Resources.About;

            this.Bind(LicensesView.Rx().Tap(), ViewModel.OpenLicensesView);
            this.Bind(PrivacyPolicyView.Rx().Tap(), ViewModel.OpenPrivacyPolicyView);
            this.Bind(TermsOfServiceView.Rx().Tap(), ViewModel.OpenTermsOfServiceView);
        }