Last Navigated View

Hi,
can anyone tell me how to get the last navigated view name in a vaadin web application with multiple views.
Thanks
D.

Do you mean the view before the current one, or the current one? Navigator.getState() returns the fragment of the current view, but not the view itself. The easiest way to implement that is to create your own ViewProvider, that keeps track of the views. If you do this, and especially if you store references to old views, make sure that they can be garbage collected.