public class StorageStrings {
public static String[] keysPrefs = {getString(R.string.key_mod), getString(R.string.key_vel),getString(R.string.key_num)};
public static String[] defaultValues = {getString(R.string.default_value_mod),getString(R.string.default_value_vel),getString(R.string.default_value_num)};
}
I want to store my Strings in this class. But I cannot use getString() method to retrieve the String from the resource.
How can I get the String from resource in this self-defined class?
Thanks in advance