Example #1
0
        public UserPage()
        {
            this.InitializeComponent();
            channel   = null;
            qualities = null;

            messages = new ObservableCollection <ChatListViewBinding>();
            chatListView.ItemsSource = messages;

            followedOnlineStreamsLoader     = new ItemLoader(LoadOnlineStreams, followedStreamsScrollViewer, followedStreamsProgressBar);
            followingChannelsLoader         = new ItemLoader(LoadFollowingChannels, followedChannelsScrollViewer, followedChannelsProgressBar);
            blockedUsersLoader              = new ItemLoader(LoadBlockedUsers, blockedUsersScrollViewer, blockedUsersProgressBar);
            followedOnlineStreamsCollection = new ObservableCollection <GameStreamsGridViewBinding>();
            followingChannelsCollection     = new ObservableCollection <ChannelProfileListViewBinding>();
            blockedUsersCollection          = new ObservableCollection <ChannelProfileListViewBinding>();
            channelEditorsCollection        = new ObservableCollection <ChannelProfileListViewBinding>();
            videoPlaying = false;
        }
Example #2
0
 public GameStreamsPage()
 {
     this.InitializeComponent();
     streamsLoader     = new ItemLoader(LoadStreams, scrollViewer, progressBar);
     streamsCollection = new ObservableCollection <GameStreamsGridViewBinding>();
 }