Storyteller Stories View
An abstract base class for Storyteller Views that display a list of Stories (e.g., StorytellerStoriesRowView, StorytellerStoriesGridView). It extends StorytellerListView and provides common functionality and configuration specific to Stories content.
This is considered a legacy component. For new implementations, especially in Jetpack Compose-based UIs, using the corresponding Composables (e.g., com.storyteller.ui.compose.components.lists.row.StorytellerStoriesRow, com.storyteller.ui.compose.components.lists.grid.StorytellerStoriesGrid) is recommended.
Parameters
The Context the view is running in, through which it can access the current theme, resources, etc.
The attributes of the XML tag that is inflating the view. May be null.
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Inheritors
Types
Data class for configuring a StorytellerStoriesView (e.g., StorytellerStoriesRowView, StorytellerStoriesGridView). It defines the specific categories of Stories to display and visual properties like theme, style, and cell type.
Properties
The configuration for this Stories view. It must be an instance of StorytellerStoriesView.ListConfiguration. Setting this property will update the internal StorytellerStoriesDataModel used by the underlying Composable content, applying the specified categories, theme, style, display limit, and cell type. If the provided value is not a StorytellerStoriesView.ListConfiguration, default or empty values might be used.
The delegate to be notified of events from this Storyteller list view, such as data loading and player dismissal. See StorytellerListViewDelegate for more details. For more information on available delegates, see the Storyteller Delegates Documentation.
Optional SearchInput to filter the Stories displayed in this view. Setting this property will update the internal state and potentially re-filter the displayed Stories. This is typically used when the Stories view is part of a search results interface.
Functions
If you are using this fast view inside a RecyclerView, you should call this method to set the view holder's parent as the view tree view model store owner.