public class ResourceUtil
extends java.lang.Object
Constructor and Description |
---|
ResourceUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
getResource(int resIdCiv,
int resIdMil)
Allow for proper lookup of resource id based on the capabilities of the flavor
|
static java.lang.String |
getString(android.content.Context c,
int resIdCiv,
int resIdMil)
Allow for proper lookup of Strings based on the capabilities of the flavor
|
public static java.lang.String getString(android.content.Context c, int resIdCiv, int resIdMil)
c
- The context to use when looking up a resourceresIdCiv
- the civilian capability resourceresIdMil
- the military capability resourcepublic static int getResource(int resIdCiv, int resIdMil)
resIdCiv
- the civilian capability resourceresIdMil
- the military capability resource