rememberDragSelectState
Creates a DragSelectState that is remembered across compositions.
Changes to the provided initial values will not result in the state being recreated or changed in any way if it has already been created.
Return
A DragSelectState that can be used to control the selection.
Parameters
The type of the items in the list.
The LazyGridState that will be used to control the items in the grid.
The initial selection of items.
Creates a DragSelectState that is remembered across compositions.
Changes to the provided initial values will not result in the state being recreated or changed in any way if it has already been created.
Return
A DragSelectState that can be used to control the selection.
Parameters
The type of the items in the list.
The LazyGridState that will be used to control the items in the grid.
The initial selection of items.
A factory for selecting a property of Item to compare.