Optimized ScrollView Adapter - Code Reference
Optimized ScrollView Adapter - Code Reference
Namespaces
frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
SRIA(TParams, TItemViewsHolder) Class
SRIA(TParams, TItemViewsHolder) Methods
Awake Method
ChangeItemsCount Method
ClearCachedRecyclableItems Method
ClearVisibleItems Method
CollectItemsSizes Method
CreateViewsHolder Method
Dispose Method
GetContentSize Method
GetItemsCount Method
GetItemViewsHolder Method
GetItemViewsHolderIfVisible Method
GetItemVirtualInsetFromParentStart Method
GetNormalizedPosition Method
GetViewsHolderOfClosestItemToViewportPoint Method
GetVirtualAbstractNormalizedScrollPosition Method
Init Method
InsertItems Method
IsRecyclable Method
OnBeforeRecycleOrDisableViewsHolder Method
OnBeginDrag Method
OnDestroy Method
OnEndDrag Method
OnItemHeightChangedPreTwinPass Method
OnItemWidthChangedPreTwinPass Method
OnScrollViewSizeChanged Method
RebuildLayoutDueToScrollViewSizeChange Method
Refresh Method
RemoveItems Method
RequestChangeItemSizeAndUpdateLayout Method
ResetItems Method
ScheduleComputeVisibilityTwinPass Method
ScrollTo Method
SetNormalizedPosition Method
SetVirtualAbstractNormalizedScrollPosition Method
ShouldDestroyRecyclableItem Method
SmoothScrollTo Method
Start Method
Update Method
UpdateViewsHolder Method
SRIA
TParams
,
TItemViewsHolder
SetVirtualAbstractNormalizedScrollPosition Method
Same thing as
normalizedPosition
, just that the position is 1 for start and 0 for end, regardless if using a horizontal or vertical ScrollRect
Namespace:
frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
void
SetVirtualAbstractNormalizedScrollPosition
(
double
pos
,
bool
computeVisibilityNow
)
Parameters
pos
Type:
System
Double
1=start, 0=end
computeVisibilityNow
Type:
System
Boolean
Implements
ISRIA
SetVirtualAbstractNormalizedScrollPosition(Double, Boolean)
Version Information
Optimized ScrollView Adapter
Supported in: 3.1
See Also
Reference
SRIA
TParams, TItemViewsHolder
Class
frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter Namespace
Send comments on this topic to
george@forbiddenbyte.com