Dynamic Content Feed
Displays dynamic content based on the provided channel id and content parameters.
val dynamicContentParameters = mapOf(
"<cohort key>" to listOf("<cohort value 1>", "<cohort value 2>"),
)
val viewOptions = viewOptions {
baseOptions {
feedResource(
FeedResource.DynamicContent("Encoded channel id", dynamicContentParameters),
)
}
layoutOptions {
feedLayout(
FeedLayout.HORIZONTAL
)
}
}
val videoFeedView = findViewById<FwVideoFeedView>(R.id.videoFeedView)
videoFeedView.init(viewOptions)
Last updated
Was this helpful?