I would like to know the difference between
R.string.mystring
and
public static final String myString
in Android.
Which is better performance wise and why?
I would like to know the difference between
R.string.mystring
and
public static final String myString
in Android.
Which is better performance wise and why?
R.string.mystring
--> can be converted to other languages (based on user's locale) LOCALIZATION
public static final String myString
--> stays in one language.