Click or drag to resize

ChildGridExample Class

Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Com.ForbiddenByte.OSA.CoreOSAMyGridParams, CellGroupViewsHolderMyCellViewsHolder
            Com.ForbiddenByte.OSA.CustomAdapters.GridViewGridAdapterMyGridParams, MyCellViewsHolder
              Com.ForbiddenByte.OSA.Demos.NestedScrollViewsChildGridExample

Namespace:  Com.ForbiddenByte.OSA.Demos.NestedScrollViews
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class ChildGridExample : GridAdapter<MyGridParams, MyCellViewsHolder>

The ChildGridExample type exposes the following members.

Constructors
  NameDescription
Public methodChildGridExample
Top
Methods
  NameDescription
Public methodAddItemsAndUpdate
Public methodChangeItemsCount
Overridden in order to convert the cellsCount to groupsCount before passing it to the base's implementation
(Overrides GridAdapterTParams, TCellVHChangeItemsCount(ItemCountChangeMode, Int32, Int32, Boolean, Boolean).)
Public methodClearItemsAndUpdate
Public methodInitializeWithItems
Public methodIsWaitingForData
Public methodRemoveItemsAndUpdate
Public methodSetItemsAndUpdate
Public methodSetWaitingForData
Protected methodStart (Overrides OSATParams, TItemViewsHolderStart.)
Protected methodUpdateCellViewsHolder
The only important callback for inheritors. It provides cell's views holder which has just become visible and whose views should be updated from its corresponding data model. viewsHolder.ItemIndex(ItemIndex) can be used to know what data model is associated with.
(Overrides GridAdapterTParams, TCellVHUpdateCellViewsHolder(TCellVH).)
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also