Reputation: 141
So android let you use databinding to bind observable data directly to the XML which works and I am very familiar with.
Now the question is how would this work with Runtime Resource Overlay?
RRO allows you to have multiple different resources for different scenarios. This is different from a cradle build flavour. And different from using qualifiers for resources.
Since RRO is pretty much replaces only your resources how would you do databinding with that? Since you can't have code in RRO?
Upvotes: 1
Views: 96
Reputation: 1
You're app will get a configuration change event when the RRO is applied (assuming a dynamic one) so you could tie into that, but RROs might not correct thing to use for your uses case.
Upvotes: 0