Can be called when a data model changes and a widget displaying that data needs to be updated.
Argument | Type | Description |
---|---|---|
model | Object | Model object that changed |
who | Object | Object that changed the model. Usually the widget object or scene assistant. Used to avoid notifying objects of their own changes to a model in the case where both the scene assistant and widget change & watch the same model. |
Note: Palm states this API is still changing. Eventually, they want to provide a more structure on the datamodel side and an API that allows the app to express what about the model changed.
For example, added or removed an element, modified one or more properties of an element, etc.
JR makes this comment
Saturday, 17 October 2009