Esempio n. 1
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            _speaker = App.CodeCampService.Repository.GetSpeaker(NavigationContext.QueryString["email"]);

            DataContext = _speaker;
        }
Esempio n. 2
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            _speaker = App.CodeCampService.Repository.GetSpeaker(NavigationContext.QueryString["email"]);

            DataContext = _speaker;
        }
Esempio n. 3
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.Speaker);

            string email = Intent.GetStringExtra("email");
            _speaker = CodeCampApplication.CodeCampService.Repository.GetSpeaker(email);

            FindViewById<TextView>(Resource.Id.SpeakerName).Text = _speaker.Name;
            FindViewById<TextView>(Resource.Id.Bio).Text = _speaker.Bio;
        }