public OverviewPage() { InitializeComponent(); SetNewsPictureSource(_currentNews.ImageSource); DataContext = this; _friendService = FriendService.GetInstance(); _friendService.FriendListUpdated += SetFriendListIcon; }
private FriendList() { InitializeComponent(); _friendService = FriendService.GetInstance(); _logger = LoggerFactory.GetLogger(); _friendListViewModelFactory = new FriendListViewModelFactory(_friendService, _logger); _friendService.FriendListUpdated += _friendService_FriendListUpdated; }