Click or drag to resize

ClassicSRIATViewsHolder Class

Class (initially) implemented during this YouTube tutorial: https://youtu.be/aoqq_j-aV8I (which is now too old to relate). It demonstrates a simple use case with items that expand/collapse on click
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Com.ForbiddenByte.OSA.ClassicClassicSRIATViewsHolder
            Com.ForbiddenByte.OSA.Classic.ExamplesClassicGridViewExample
            Com.ForbiddenByte.OSA.Classic.ExamplesHorizontalClassicListViewExample
            Com.ForbiddenByte.OSA.Classic.ExamplesVerticalClassicListViewExample

Namespace:  Com.ForbiddenByte.OSA.Classic
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public abstract class ClassicSRIA<TViewsHolder> : MonoBehaviour
where TViewsHolder : CAbstractViewsHolder

Type Parameters

TViewsHolder

The ClassicSRIATViewsHolder type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Protected methodAwake
Protected methodCreateViewsHolder
Public methodInsertItems
It preserves previously cached views holders
Protected methodOnDestroy
Public methodRefresh
Public methodRemoveItems
It preserves previously cached views holders
Public methodResetItems
It clears any previously cached views holders
Public methodSmoothScrollTo
Utility to smooth scroll. The scroll is animated (scroll is done gradually, throughout multiple frames)
Protected methodStart
Protected methodUpdate
Protected methodUpdateViewsHolder
Top
Fields
  NameDescription
Public fieldviewport
Public fieldviewsHolders
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also