ReactiveCollection.Clear() does not trigger ObserveRemove
Hey,
Title says it all. I observe a ReactiveCollection and want to be sure that every element in the collection has a different state than elements not in the collection. Therefore, I subscribe to ObserveAdd and activate the element and subscribe to ObserveRemove to deactivate it. This works as long as nobody calls Clear() on the ReactiveCollection as this does not trigger ObserveRemove. This is counter-intuitive and seems to be a bug, right? If not, whats the deal behind that behavior? Or is there even an easier way to achieve what I described?
I also found the ObserveReset observable, that I guess is triggered when the list is cleared. However, this does not include the removed elements so I can't deactivate them.
Thank you for this great plugin!
Source: neuecc/UniRx