As long as it's working, ignore the warnings. When you use
the binding notation, the compiler assumes you want a "live"
binding that updates continuously. That's not possible with
something like "data.icon". However, in your case it works fine
because all you need is the initial value.