public void Init(SwrveOrientation deviceOrientation) { Closing = false; Dismissed = false; Rotate = Orientation != deviceOrientation; if (MessageListener != null) { MessageListener.OnShow(this); } }
/// <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); } }