Im using DataBinding Api for setting the views in android layouts. Here is my layout.
DataBinding
layout.xml
Probably late to the party: Below code will also work
android:text='@{@string/hello.concat(user.firstName)}'