Created
November 21, 2017 21:26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Text; | |
using XF.CustomControl.Demo.Models; | |
namespace XF.CustomControl.Demo.ViewModels { | |
public class SpeakersListPageViewModel { | |
public ObservableCollection<Speaker> AllSpeakers { get; set; } | |
public SpeakersListPageViewModel() { | |
AllSpeakers = new ObservableCollection<Speaker>(); | |
// Some dummy data | |
AllSpeakers.Add(new Speaker() { SpeakerId = 1, FullName = "Almir Vuk", Position = ".NET Developer", PhotoUrl = "https://avatars3.githubusercontent.com/u/15986629" }); | |
AllSpeakers.Add(new Speaker() { SpeakerId = 2, FullName = "Mario Rozic", Position = "MEAN Developer", PhotoUrl = "https://avatars2.githubusercontent.com/u/15254942" }); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment