如何使用数据绑定将多个字符串值添加到 textView?

How to add several string values to textView with databinding?

我想这样做:

 android:text="@{task.price, task.date, task.owner}"

(不带绑定适配器)

这会起作用:

android:text="@{task.price.concat(task.date).concat(task.owner).concat(@string/myCustomText)}"

这也是:

<data>
    <import type="String" />
</data>
<TextView
    android:text="@{String.format(task.price, task.date, task.owner)}" />