I need to access resources in xml dynamically.
res=getResources();
plc=res.obtainTypedArray(R.array.id1);
I would like to do it in a loop => change id1 to id2, id3, ... ,id1000 and in that loop work with the items of that respective array. I can do it with single array but can't jump to another one. Any suggestion how I can do that? ObtainTypedArray expects integer only as a parameter.
Thank you!