Skip to content

Instantly share code, notes, and snippets.

@alvareztech
Created September 20, 2013 15:40
Show Gist options
  • Save alvareztech/6639479 to your computer and use it in GitHub Desktop.
Save alvareztech/6639479 to your computer and use it in GitHub Desktop.
Android: Get array[] from resources.
// From Fragment
String[] myArray = getActivity().getResources().getStringArray(R.array.myarray);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment