예제 #1
0
        public async void OnLinkEventClickedProfile(object sender, EventArgs e)
        {
            if (_facebookEvent != null)
            {
                var fbEvent = new FacebookEventExtended {
                    AttendingCount = _facebookEvent.AttendingCount,
                    Description    = _facebookEvent.Description,
                    EndTime        = _facebookEvent.EndTime,
                    Id             = _facebookEvent.Id,
                    MaybeCount     = _facebookEvent.MaybeCount,
                    Name           = _facebookEvent.Name,
                    Picture        = _facebookEvent.Picture,
                    StartTime      = _facebookEvent.StartTime,
                    PlaceId        = PlaceId,
                    PlaceName      = lblPlaceName.Text
                };

                var page = new FacebookEventPage(fbEvent);

                await App.Navigation.PushModalAsync(page);
            }
        }
		public async void OnLinkEventClickedProfile(object sender, EventArgs e)
		{
			if (_facebookEvent != null) 
			{
				var fbEvent = new FacebookEventExtended {
					AttendingCount = _facebookEvent.AttendingCount,
					Description = _facebookEvent.Description,
					EndTime = _facebookEvent.EndTime,
					Id = _facebookEvent.Id,
					MaybeCount = _facebookEvent.MaybeCount,
					Name = _facebookEvent.Name,
					Picture = _facebookEvent.Picture,
					StartTime = _facebookEvent.StartTime,
					PlaceId = PlaceId,
					PlaceName = lblPlaceName.Text
				};

				var page = new FacebookEventPage (fbEvent);

				await App.Navigation.PushModalAsync (page);
			}
		}