Click or drag to resize

IRecyclableGridScrollContentDataProviderGetItem Method

Gets the recyclableItem(RectTransform) to manage the RecyclableGridScrollContent.

Make a recyclableItem when RecyclableItemsScrollContent.initialize(this, true) is called.

At first, recyclableItem is null so you should instantiate the recyclableItem.

You have to update the item information like the text, thumbnail, onClickListener and etc before you return.

Namespace:  AndroidLocalGalleryPlugin
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
RectTransform GetItem(
	int index,
	RectTransform recyclableItem
)

Parameters

index
Type: SystemInt32
Index.
recyclableItem
Type: RectTransform
RecyclableItem(RectTransform)

Return Value

Type: RectTransform
recyclableItem(RectTransform).
See Also