Within Bixby Views, you can now only use card components within a list-of
or selection-of
list. For example, you can no longer use *-area
, paragraph
, and single-line
components within a list.
Deprecated:
list-of (this) {
where-each(item) {
paragraph: value ("#{value(item)}")
}
}
list-of (this) {
where-each(item) {
title-area {
slot1: text: value ("#{value(item)}")
}
}
}
New:
list-of (this) {
where-each(item) {
compound-card {
content {
paragraph: value ("#{value(item)}")
}
}
}
}
list-of (this) {
where-each(item) {
title-card {
title-area {
slot1: text: value ("#{value(item)}")
}
}
}
}
Learn more about the deprecation stages.
Copyright 2024 Samsung All rights reserved