Data Binding String List


I use data binding in my new project and this is what my data class looks like:

and i wanted to change author and genres to a List but now i doesnt work in the xml file because its a string list …with normal strings it worked pefectly fine
i have no idea how to solve this, i tried so many things but nothing worked

this is what my xml says now ():

thank you

By the error message, I would say that the field text is of type String (or similar) but you are trying to assign a List so that obviously won’t compile.
You need to create a property of type String and use that in the XML.