Files
In tutorial example LayoutDesign the following layout design facilities are explained:During design it often happens that views are added or removed. The layout of each view is persisted under an implicit key. Implicit keys are generated in sequence order of view creation. Adding or deleting a view during development will change the view creation sequence and hence the implicit keys. This will mess up the layout of your application. If you want layout persistence to work during development, you can assign explicit keys to the views that have layout state. Currently MainView, ModalView, ModelessView, ListView and SplitView have layout state.
To illustrate the benefits of explicit keys example layoutDesignAltered lacks two ListViews that were present in layoutDesignOriginal. Running these two examples alternately shows that other views are not messed up by adding or removing these ListViews.
Remark: If you don't want to spend a lot of thought on a globally unique key, you can e.g. use date and time or the GUID's that can be generated by some development environments.