Subscribe to CollectionChanged
event for IList
properties
#3257
Unanswered
AndreasReitberger
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @AndreasReitberger, the problem here is that you're trying to subscribe for notifications when the object is unmanaged (has not been added to a realm). If you do it after you've added your instance of Just to give you an idea of why it's happening, when the object gets managed, we "swap" out the list implementation for a list that implements |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a simple object which has a
IList
as property.In this class, I want to subscribe to the
CollectionChanged
event, however I haven't found a proper way to do so.If I do it this way, I get an exception in the ctor of
MyObject
.Beta Was this translation helpful? Give feedback.
All reactions