public void OnServiceBound(StorageBinder binder) { StorageService = binder.Service; if (StorageService == null) { Log.Error(Tag, "StorageService was null!"); return; } StorageService.Communication += OnStorageCommChanged; if (!IsPreviousDataLoaded) LoadPreviousData(); TryEnableSendButton(); }
public void OnServiceBound(StorageBinder binder) { StorageService = binder.Service; if (StorageService == null) { Log.Error(Tag, "StorageService was null!"); return; } if (!IsStorageCommHandlerConnected) { StorageService.Communication += OnStorageCommChanged; IsStorageCommHandlerConnected = true; } TryEnableStartButton(); }