예제 #1
0
 public void Init(SwrveOrientation deviceOrientation)
 {
     Closing   = false;
     Dismissed = false;
     Rotate    = Orientation != deviceOrientation;
     if (MessageListener != null)
     {
         MessageListener.OnShow(this);
     }
 }
예제 #2
0
        /// <summary>
        /// Initialize the message to be displayed.
        /// </summary>
        public void Init(SwrveOrientation deviceOrientation)
        {
            this.Closing   = false;
            this.Dismissed = false;
            // Check if we have to rotate the format
            this.Rotate = (this.Orientation != deviceOrientation);

            if (MessageListener != null)
            {
                MessageListener.OnShow(this);
            }
        }