Esempio n. 1
0
        public SpeakerDetails(SpeakerListModel speakerListModel)
        {
            InitializeComponent();

            Name.Text    = speakerListModel.FullName;
            Photo.Source = speakerListModel.Photo;
            Bio.Text     = speakerListModel.Bio;
        }
Esempio n. 2
0
        async void Handle_ItemSelected(object sender, Xamarin.Forms.SelectedItemChangedEventArgs e)
        {
            if (e.SelectedItem == null)
            {
                return;                 //ItemSelected is called on deselection, which results in SelectedItem being set to null
            }
            SpeakerListModel item = e.SelectedItem as SpeakerListModel;

            await Navigation.PushAsync(new SpeakerDetails(item));
        }