Click or drag to resize

RecyclableGridScrollContent Class

RecyclableGridScrollContent manages scroll content layout.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          UIBehaviour
            AndroidLocalGalleryPluginRecyclableGridScrollContent

Namespace:  AndroidLocalGalleryPlugin
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class RecyclableGridScrollContent : UIBehaviour

The RecyclableGridScrollContent type exposes the following members.

Constructors
  NameDescription
Public methodRecyclableGridScrollContent
Initializes a new instance of the RecyclableGridScrollContent class
Top
Methods
  NameDescription
Public methodGetColRowPostion

Return column position and row position.

int[0] = column position, int[1] = row position

Public methodgetMediaDataGuiIfExist
Return MediaDataGui from index.
Public methodgetRecycledPosition
Return recycled position from index. If index items is not existing, it retuens null;
Public methodInitialize
This method makes or resets the recyclable items.
Public methodInitPosition
Scroll to the top of the position.
Public methodinitScrollInfo
Initialize ScrollRect Direction and RectTransform.
Public methodReflesh
Refresh the recyclable items.
Top
Fields
  NameDescription
Public fielddirection
The direction.
Public fieldfixedColumnCount
The fixed column count.
Public fieldinstantateItemCount

The instantate item count.

You need to set suitable count.

Public fieldpadding
The padding.
Public fieldspacing
The spacing.
Top
See Also