Com.ForbiddenByte.OSA.CustomAdapters.GridView Namespace |
Class | Description | |
---|---|---|
CellGroupViewsHolderTCellVH | A views holder representing a group of cells (row or column). It instantiates the maximum number of cells it can contain, but only those of them that should be displayed will have their views enabled | |
CellViewsHolder |
By design, each cell should have exactly one child and it should hold the views. This is because the cell's GameObject must always be active, while the views may not be.
| |
GridAdapterTParams, TCellVH | An optimized adapter for a GridView Implements OSATParams, TItemViewsHolder to simulate a grid by using a runtime-generated "row" prefab (or "colum" prefab, if horizontal ScrollView), having a Horizontal (or Vertical, respectively) LayoutGroup component, inside which its corresponding cells will lie. This prefab is represented by a CellGroupViewsHolderTCellVH, which nicely abstractizes the mechanism to using cell prefabs. This views holder is managed internally and is no concern for most users. The cell prefab is used the same way as the "item prefab", for those already familiarized with the ListView examples. It is represented by a CellViewsHolder, which are the actual views holders you need to create/update and nothing else. | |
GridParams | Base class for params to beused with a GridAdapterTParams, TCellVH | |
GridParamsGridConfig |