Click or drag to resize

IRecyclableGridScrollContentDataProvider Methods

The IRecyclableGridScrollContentDataProvider type exposes the following members.

Methods
  NameDescription
Public methodGetItem

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.

Public methodGetItemHeight
Gets the height of the item.
Public methodGetItemWidth
Gets the width of the item.
Top
See Also