Is it possible to receive the resource-ids being kept by a as an int[] programmatically without referring to the resource-class R?
public static final int[] getResourceDeclareStyleableIntArray(String name) {
int[] result = null;
try {
result = (int[]) R.styleable.class.getField(name).get(R.styleable.class);
} catch (NoSuchFieldException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
}
return result;
}