errorrik / mdv

Automatically exported from code.google.com/p/mdv
Apache License 2.0
0 stars 0 forks source link

Provide a way to destroy (possibly update) views #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, there's no way to destroy a view: its observers live forever, which 
keeps them and the view from being GCed.

The main reason we need view destruction is because assigning a new view is the 
only way to get the framework to re-sort (say, after the user clicks on a title 
header). So it might be that providing a way to update an existing view would 
be sufficient.

Original issue reported on code.google.com by adamk@chromium.org on 27 Apr 2011 at 11:39