Click or drag to resize

BaseVH Class

Includes common functionalities for the 2 viewsholders. CanPresentModelType(Type) is implemented in both of them to return wether the views holder can present a model of specific type (that's why we cache the model's type into CachedType inside its constructor)
Inheritance Hierarchy

Namespace: Com.ForbiddenByte.OSA.Demos.MultiplePrefabs.ViewsHolders
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public abstract class BaseVH : BaseItemViewsHolder

The BaseVH type exposes the following members.

Constructors
Name Description
Protected method BaseVH
Top
Methods
Name Description
Public method CanPresentModelType
Public method CollectViews
If instead of calling Init(GameObject, RectTransform, Int32, Boolean, Boolean), the initializaton is done manually, this should be called lastly as part of the initialization phase
(Overrides AbstractViewsHolderCollectViews.)
Public method UpdateTitleOnly
Public method UpdateViews
Called to update the views from the specified model. Overriden by inheritors to update their own views after casting the model to its known type
Top
Fields
Name Description
Public field titleText
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.3
See Also