public ListView (ObservableList<T> items)

Creates a default ListView which will stack the contents retrieved from the provided ObservableList vertically.

Attempts to add a listener to the ObservableList, such that all subsequent changes inside the list will be shown to the user.

Refer to the ListView class documentation for details on the default state of other properties.

Parameters:
items    the list of items