O'Reilly logo

Xamarin Blueprints by Michael Williams

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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; _state.AccessToken = accessToken; InitSignalR(accessToken).ConfigureAwait(false); ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required