Optional_Optional_OptionalallowIndicates whether the element can receive focus.
The root container group for the collection view.
OptionalcontentThe direction of the collection view.
The height of the floating focus area.
The indices of the currently focused row and item.
Indicates whether the element is currently focused.
Indicates if this view has been prestend in an aggregate View controller
The container for overlays like left fade effect, etc.
OptionalparentThe parent focusable element, if any.
Default horizontal reading order inherited by rows.
The row callbacks provider for managing row callbacks.
The spacing between rows.
Additional vertical scroll extent around the collection content.
The scroll speed for the collection view.
The start indices of the collection view.
The type of vertical focus animation.
OptionalviewThe virtual Y position of the collection view.
Indicates whether the navigatable entity is visible.
View Creation
Optionaloptions: IScreenDismissOptionsAsync
Optionalargs: Record<string, unknown>Optionalcallback: AsyncCommandEventCallbackOptionaltaskId: stringOptionaldispatchDispatches an opt-in per-frame horizontal item focus event.
OptionaldataSource: CollectionViewDataSource.CollectionViewDataSourceOptionalrowDataSource: ICollectionViewDataSourceRow<any, ICollectionViewDataSourceItem>OptionalfindResolves the next focusable element in the given direction.
The event containing details about the focus transition.
The next focusable element, or undefined if none exists.
Audio Guide
Measurement
Gets the cached virtual Y position for the next row.
Gets the cell for a given row and item index.
Gets the data source instance.
Gets the data source row for a given index.
Gets the first focusable row index.
Gets the bottom edge of the unobstructed focus area.
Gets the top edge of the unobstructed focus area.
Gets the X position of the currently focused cell's center for FocusOnClosestItem strategy.
Gets the currently focused data source item.
Gets the currently focused data source row.
Gets the currently focused row instance.
Gets focus info for a specific row and item index.
OptionalitemIndex: numberGets the focus manager for the collection view.
Gets the next item indices.
Gets the row instance for a given index.
Gets all rows instances
Gets the normalized bottom scroll inset.
Gets the normalized top scroll inset.
Gets one rendered item cell if its visible area meets the settled visibility threshold.
Optionaloptions: CollectionViewSettledVisibilityOptionsGets rendered item cells whose visible area meets the settled visibility threshold.
Optionaloptions: CollectionViewSettledVisibilityOptionsGets one rendered row if it contains at least one settled visible item.
Optionaloptions: CollectionViewSettledVisibilityOptionsGets rendered rows that contain at least one settled visible item.
Optionaloptions: CollectionViewSettledVisibilityOptionsGets the sticky rows.
Rendererers
Gets the vertical focus animation strategy instance.
OptionalhasReturns whether this collection opted into per-frame horizontal item focus events.
OptionalchildIndex: numberFocus
Whether the row is focusable.
Returns whether one rendered item cell meets the settled visibility threshold.
Optionaloptions: CollectionViewSettledVisibilityOptionsReturns whether one rendered row contains at least one settled visible item.
Optionaloptions: CollectionViewSettledVisibilityOptionsInstantly jumps to the specified row index without animation.
OptionalrowItemIndex: numberOptionalforce: booleanPrefer onDidAppearInAggregateView / onDidReappearInAggregateView when the view is shown via an aggregate transition. The framework still invokes this for other paths (e.g. root view, tab propagation) until those are migrated.
Called when the navigatable entity is shown.
Called when this view becomes the visible top again after having been covered by another screen on the same NavController (same transition finish as onAppear, immediately after it).
Prefer overriding onDidReappearInAggregateView; default implementation chains from it.
Called when the element loses focus.
Called after the navigatable entity has been added to an aggregate view.
The aggregate view to which the entity has been added.
Called when this view becomes the visible top of its owning NavController stack for the first time (after onDidAddToAggregateView). Default implementation delegates to onAppear and onFirstAppear.
The aggregate view (e.g. NavController) whose transition finished.
Called when this view becomes the visible top again after having been covered by another screen on the same NavController. Default implementation delegates to onAppear and onAppearAgain.
The aggregate view (e.g. NavController) whose transition finished.
Called after the navigatable entity has been removed from an aggregate view.
The aggregate view from which the entity has been removed.
Prefer onDisappearFromAggregateView when leaving an aggregate context during a transition. The framework still invokes this for other paths until migrated.
Called when the navigatable entity is hidden.
Called when this view is hidden during an aggregate transition or via BaseAggregateView.hideView.
Default implementation delegates to onDisappear.
The aggregate view from which this view is disappearing.
Called when this view becomes the visible top of a NavController stack for the first time for that controller (same transition finish as onAppear, immediately after it).
Prefer overriding onDidAppearInAggregateView; default implementation chains from it.
Called when the element receives focus.
Optionalevent: INextFocusResolutionEventThe event associated with the focus change.
OptionalonCalled when a child element's focus state changes.
The ID of the child element.
OptionalonLifecycle
OptionalchildIndex: numberCalled before the navigatable entity is added to an aggregate view.
The aggregate view to which the entity will be added.
OptionalonCalled before the navigatable entity is removed from an aggregate view.
The aggregate view from which the entity will be removed.
OptionalonOptionaloptions: IScreenPresentationOptionsRenders the collection view for the specified indices. Returns true if the rendering was successful, false otherwise.
Optionalforce: booleanOptionalchildId: stringInstantly jumps to the specified row index with animation.
OptionalitemIndex: numberOptionalforce: booleanNavigatable View
Updates the focused cell X position based on the current focused indices.
Interface for a collection view, extending IHosannaView. Provides methods and properties for focus, data source, and cell access.