public class ResourceIdResolver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceIdResolver.ResourceGroupEnum |
Constructor and Description |
---|
ResourceIdResolver() |
Modifier and Type | Method and Description |
---|---|
static int |
getResourceId(android.content.Context context,
java.lang.String resourceName) |
static void |
setPackageName(java.lang.String pName)
Sets the package name, where the application R file is located.
|
public static int getResourceId(android.content.Context context, java.lang.String resourceName)
context
- application contextresourceGroup
- name of the resource id classresourceName
- name of the resource inside the classpublic static void setPackageName(java.lang.String pName)
pName
-