Implementing the ClientsListPresenter
Create a new file called ClientsListPresenter.cs
, add it to the Presenter
folder in the Chat.Common
project, and implement the following:
public class ClientsListPresenter : BasePresenter { #region Private Properties private IClientsListView _view; #endregion #region IClientsListView public interface IClientsListView : IView { event EventHandler<ClientSelectedEventArgs> ClientSelected; void NotifyConnectedClientsUpdated(IEnumerable<Client> clients); } #endregion #region Constructors public ClientsListPresenter(ApplicationState state, INavigationService navigationService, string accessToken) { _navigationService = navigationService; _state = state; ...