void InitPrivacyPolicyButton()
        {
            _privacyPolicyButton                = new UIButton(UIButtonType.System);
            _privacyPolicyButton.Frame          = new CGRect(0, 0, 0, 0);
            _privacyPolicyButton.TouchUpInside += (sender, e) => {
                ConsentViewModel.OpenPrivacyPolicyLink();
            };

            _privacyPolicyButton.AccessibilityTraits = UIAccessibilityTrait.Link;
            StyleUtil.InitLinkButtonStyling(_privacyPolicyButton, ConsentViewModel.CONSENT_SEVEN_LINK_TEXT);
        }
Ejemplo n.º 2
0
 private void PolicyLinkBtn_Click(object sender, EventArgs e)
 {
     ConsentViewModel.OpenPrivacyPolicyLink();
 }
Ejemplo n.º 3
0
 void OnPrivacyPolicyPressed(object sender, EventArgs eventArgs)
 {
     ConsentViewModel.OpenPrivacyPolicyLink();
 }
 partial void PrivacyPolicy_TouchUpInside(UIButton sender)
 {
     ConsentViewModel.OpenPrivacyPolicyLink();
 }