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

            _friendService.FriendListUpdated += _friendService_FriendListUpdated;
        }