Bixby Developer Center

Guides

6775

We've introduced a new runtime flag that changes how a single result is rendered within an input-view.

If you specify the use-input-views-for-selection-list-detail runtime flag, you can render the details of a single item in an input view by calling a layout, layout-match, or layout-macro.

Example

// With the `runtime-flag` enabled
input-view {
match-pattern: MyResult (this)
message (...)
render {
if (size(this) == 0) {
// render a form
} else-if (size(this) == 1) {
layout {
select-button-text (select me)
section {
...
}
}
} else {
selection-of (this) {
has-details (true)
where-each (result) {
...
}
}
}
}
}

If not specified, then an input-view calls out to a corresponding result-view to render the layout for a single result when selecting an item from the selection list.

Deprecation Stages (learn more)

  • Stage 1: R19P
  • Stage 2: R19R
  • End of Life: R19T