if (currentlyListening.isEmpty() && newComponents.isEmpty()) {
// we can stop here as nothing will change
return;
if (currentlyListening.isEmpty() && newComponents.isEmpty()) {
// we can stop here as nothing will change
return;
for (Resource addedComponent : addedComponents) {
SCLValueDisposableSyncListener listener = new SCLValueDisposableSyncListener(callback);
currentlyListening.put(addedComponent, listener);
for (Resource addedComponent : addedComponents) {
SCLValueDisposableSyncListener listener = new SCLValueDisposableSyncListener(callback);
currentlyListening.put(addedComponent, listener);