public void OnServiceBound(ServerCommBinder binder) { ServerCommService = binder.Service; if (ServerCommService == null) { Log.Error(Tag, "ServerCommService was null!"); return; } ServerCommService.Communication += OnServerCommChanged; TryEnableSendButton(); }
public void OnServiceBound(ServerCommBinder binder) { ServerCommService = binder.Service; if (ServerCommService == null) { Log.Error(Tag, "ServerCommService was null!"); return; } if (!IsServerCommHandlerConnected) { ServerCommService.Communication += OnServerCommChanged; IsServerCommHandlerConnected = true; } TryEnableStartButton(); }