In the android resources file I have a <string-array name="system">
with two items, what I want is to call it in a java class that extends from RecyclerView.Adapter
to fill a string[]
, in the following way:
String [] arregloFiguras=Resources.getSystem().getStringArray(R.array.system);
When executing it does not throw any errors, but the application does not deploy, an alert indicates that the app is damaged
How can I fill string[] = {}
with string values from the resource folder?
thanks.