Constructs a new ViewFragmentProvider and initializes the fragment holder.
Private
allAll fragments indexed by their unique ID.
Private
availableAvailable fragments for reuse, indexed by style key.
Private
fontFont manager for resolving fonts in fragments.
Private
fragmentHolder group for all fragment views.
Private
fragmentInternal fragment ID counter for unique IDs.
Private
styleStyle registry for resolving fragment styles.
Applies a view status (e.g., focused, normal) to a fragment.
The fragment to update.
The view status.
Creates a fragment from a style JSON definition.
The style key.
The style JSON.
The created view fragment.
Private
createCreates a view from a fragment style definition.
The fragment style.
The created view group.
Creates multiple fragments for a given style key.
The style key.
The number of fragments to create.
Private
generateGenerates a unique fragment ID.
The unique fragment ID string.
Gets the data map for a given row's style key.
The collection view row.
The data map or undefined.
Gets counts of all, available, and created fragments by style key.
The fragment counts.
Gets a view fragment by its style key, creating one if necessary.
The style key.
The view fragment.
Gets a view fragment for a given row, using its style key.
The collection view row.
The view fragment or undefined.
Releases a fragment, making it available for reuse.
The fragment to release.
ViewFragmentProvider manages reusable view fragments for efficient UI rendering.
Remarks