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
  NameDescription
Protected methodBaseVH
Top
Methods
  NameDescription
Public methodCanPresentModelType
Public methodCollectViews
If instead of calling Init(GameObject, Int32, Boolean, Boolean), the initializaton is done manually, this should be called lastly as part of the initialization phase
(Overrides AbstractViewsHolderCollectViews.)
Public methodUpdateTitleOnly
Public methodUpdateViews
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
  NameDescription
Public fieldtitleText
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also