StorytellerListViewDelegate

An interface for receiving callbacks related to data loading and player dismissal events from Storyteller list components (e.g., com.storyteller.ui.compose.components.lists.row.StorytellerStoriesRow, com.storyteller.ui.compose.components.lists.grid.StorytellerStoriesGrid, and their legacy View counterparts). Implement this interface to respond to these events in your application. For more information on using Storyteller delegates, see the Storyteller Delegates Documentation.

Functions

Link copied to clipboard
abstract fun onDataLoadComplete(success: Boolean, error: StorytellerError?, dataCount: Int)

Called when the network request to load data for the list is complete.

Link copied to clipboard
abstract fun onDataLoadStarted()

Called when a network request to load data for the list (Stories or Clips) has started. This can be used to show a loading indicator.

Link copied to clipboard
abstract fun onPlayerDismissed()

Called when the Storyteller player, opened from a list item, has been dismissed by the user.

Link copied to clipboard
abstract fun onTileTapped(tileType: StorytellerTileType)

Called when a users taps on a tile inside a row or grid. This callback is execute before the player Activity is opened.