示例#1
0
        bool ViewCanSwipe(UIView view)
        {
            if (view.IsEqual(this))
            {
                return(false);
            }

            L3SDKCardOptions options = this.GetOptionsForView(view);

            if (options.IsSwipable)
            {
                return(true);
            }

            return(false);
        }
 public void AddCard(UIView card, L3SDKCardOptions options)
 {
     this.Cards.Add(card);
     this.CardsOptions.Add(options);
     this.AddSubview(card);
 }
示例#3
0
 public void AddCard(UIView card, L3SDKCardOptions options)
 {
     this.Cards.Add(card);
     this.CardsOptions.Add(options);
     this.AddSubview(card);
 }