-1

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?

1

1 Answer 1

2

R.string.mystring --> can be converted to other languages (based on user's locale) LOCALIZATION

public static final String myString --> stays in one language.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.