create

fun create(homeId: String, theme: UiTheme? = null, uiStyle: StorytellerListViewStyle = StorytellerListViewStyle.AUTO, context: StorytellerAnalyticsContext? = null): StorytellerHomeFragment

Creates a new instance of StorytellerHomeFragment with the specified configuration.

Return

A new, configured instance of StorytellerHomeFragment.

Parameters

homeId

The unique identifier for the Home screen configuration to be loaded from the CMS.

theme

Optional UiTheme to apply to the Home screen and its child components. If null, the global theme set via Storyteller.theme will be used.

uiStyle

The StorytellerListViewStyle (e.g., AUTO, LIGHT, DARK) to apply. Defaults to StorytellerListViewStyle.AUTO, which follows the system's theme setting.