So, I noticed that there seem to be two ways to get the same data, and I'm not sure if there are recommendations when you should use them (other than bypassing getResources, memory can be saved if you really don't want to use the object more than once). But apart from this, I would like to know if there are recommendations or reasons to use
Context.getText (id) vs Context.getResources.getText (id)
Can anyone help?
source
share