Пример #1
0
		protected override void OnCreate (Bundle savedInstanceState)
		{
			base.OnCreate (savedInstanceState);
			this.SetContentView (Resource.Layout.main);
			this.ConfigureActionBar ();

			this.user = RichPushManager.Shared ().RichPushUser;

			// If we have a message id and its the first create, set the pending message id if available
			if (savedInstanceState == null) {
				pendingMessageId = Intent.GetStringExtra (RichPushApplication.MESSAGE_ID_RECEIVED_KEY);
			}
		}
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            this.SetContentView(Resource.Layout.main);
            this.ConfigureActionBar();

            this.user = RichPushManager.Shared().RichPushUser;

            // If we have a message id and its the first create, set the pending message id if available
            if (savedInstanceState == null)
            {
                pendingMessageId = Intent.GetStringExtra(RichPushApplication.MESSAGE_ID_RECEIVED_KEY);
            }
        }