In Android Studio, I have an integer.xml file where I define two integers. min and max. If I set min to 8, how do I get this value and set it to a static in Java?
Something like:
private static final int MIN = getInteger(R.integer.min);
I know this works very differently from getting strings using R.id.string.
No matter what I try, I'm getting errors about static and non-static methods.