Experimental: this API is experimental and might be changed or removed in the future.

ListView.selectedItem

切换到手册
public object selectedItem ;

描述

The currently selected item from the items source. If multiple items are selected, this will return the first selected item.