Utility/ ListViewWrapper

ListViewWrapper provides keyboard navigation functionality for Unity's ListView component. It prevents individual list items from receiving focus and handles Up/Down/Next/Previous navigation between items, making keyboard navigation feel natural.

Quick Start

CSHARP

API

Constructor

Creates a new wrapper instance for the specified ListView.

Methods

Properties

Events

Example: List with Return Button

This example shows how to set up a ListView with a return button that handles boundary navigation.

CSHARP

Example: Selection Change Handling

Handle selection changes safely using OnValidSelectionChanged.

CSHARP

Example: Dynamic Data Updates

Validate selection after changing the data source.

CSHARP