@Deprecated
public interface IProjectCallback
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNamespace()
Deprecated.
Returns the namespace of the application.
|
java.lang.Integer |
getResourceValue(java.lang.String type,
java.lang.String name)
Deprecated.
Returns the id of a resource.
|
java.lang.Object |
loadView(java.lang.String name,
java.lang.Class[] constructorSignature,
java.lang.Object[] constructorArgs)
Deprecated.
Loads a custom view with the given constructor signature and arguments.
|
java.lang.String[] |
resolveResourceValue(int id)
Deprecated.
Resolves the id of a resource Id.
|
java.lang.String |
resolveResourceValue(int[] id)
Deprecated.
Resolves the id of a resource Id of type int[]
|
java.lang.Object loadView(java.lang.String name,
java.lang.Class[] constructorSignature,
java.lang.Object[] constructorArgs)
throws java.lang.Exception
name - The fully qualified name of the class.constructorSignature - The signature of the class to useconstructorArgs - The arguments to use on the constructorjava.lang.Exceptionjava.lang.String getNamespace()
This lets the Layout Lib load custom attributes for custom views.
java.lang.String[] resolveResourceValue(int id)
The resource id is the value of a R.<type>.<name>, and
this method will return both the type and name of the resource.
id - the Id to resolve.java.lang.String resolveResourceValue(int[] id)
The resource id is the value of a R.styleable.<name>, and this method will return the name of the resource.
id - the Id to resolve.null if not found.java.lang.Integer getResourceValue(java.lang.String type,
java.lang.String name)
The provided type and name must match an existing constant defined as
R.<type>.<name>.
type - the type of the resourcename - the name of the resourcenull if not found.