Storyteller Clips Row View
A custom Android View that displays a horizontal row of Storyteller Clips. This View acts as a wrapper around the StorytellerClipsRow Composable, providing a way to integrate Storyteller Clips rows into traditional XML layouts or use them programmatically as standard Android Views.
It is considered a legacy component. For new implementations, especially in Jetpack Compose-based UIs, using the StorytellerClipsRow Composable directly is recommended.
This class should not be made final to allow inheritance by other SDKs (e.g., React Native).
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.
Properties
The configuration for this Clips view. It must be an instance of StorytellerClipsView.ListConfiguration. Setting this property will update the internal StorytellerClipsDataModel used by the underlying Composable content, applying the specified collection, theme, style, display limit, and cell type. If the provided value is not a StorytellerClipsView.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.
Functions
Reloads the data for the Clips displayed in this row. This method posts the reload operation to the main thread and then launches a coroutine to call reloadData() on the internal StorytellerRowState, which in turn triggers the data fetching and UI update process for the underlying StorytellerClipsRow Composable.
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.