ListView.insertAt

Inserts an element at the given index.

class ListView
insertAt

Parameters

index size_t

Where the new element should be inserted.

item ListViewItem

The item to be inserted.

Return Value

The inserted element, or null if out of bounds.

Meta