Closed pavel-krivanek closed 4 years ago
Here is the simplified example showing our problem.
It is not the most typical usage but in Morphic it works and in Gtk not. Our motivation to do the explicit update is in fact that we are creating some dependency relationships between the list model and other objects. If we would use directly the collection:
message that invokes the update mechanism, we would run into an infinite loop.
If you think we should not do it like that, tell me and we will need to redesign it (probably enter some next layer for handling dependencies)
GtkListAdapter does not know refreshWidgetList, it is potentially called from
SpListPresenter>>#updateList