delegate
Delegate PrefabProviderCallback<T>
A callback to provide a list item prefab to the requesting ListView or GridView which will represent the object in the data source at the given index.
Parameters
Type | Name | Description |
---|---|---|
T | index | The index into the underlying data source of the object the provided prefab will represent |
ItemView | sourcePrefab | The source prefab (not an instance) for the ListView to clone or pull from the list item prefab pool |
Returns
Type | Description |
---|---|
bool | true if the caller wishes to use an instance of the provided source prefab |
Type Parameters
Name | Description |
---|---|
T | The index type of the underlying data source |