FeedSection

data class FeedSection(var feedId: String, var receivedFeedRank: Int, var recommendations: List<RecommendationDataItem>, var title: String, var subtitle: String? = null, var layout: Layout, var isFollowed: Boolean, var isBlocked: Boolean)

A categorized feed section containing recommendations and responsive layout configuration.

Constructors

Link copied to clipboard
constructor(feedId: String, receivedFeedRank: Int, recommendations: List<RecommendationDataItem>, title: String, subtitle: String? = null, layout: Layout, isFollowed: Boolean, isBlocked: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Identifier for this feed section (the key from the API response map, e.g. "top_stories_section", "travel", "arts").

Link copied to clipboard

Whether the user has blocked this section.

Link copied to clipboard

Whether the user is following this section.

Link copied to clipboard

Responsive layout configuration for rendering this section.

Link copied to clipboard

The display position of this section within the overall feed.

Link copied to clipboard

The recommendations in this section.

Link copied to clipboard

Optional subtitle for this section.

Link copied to clipboard

Display title for this section.