|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
LayoutlibCallback
@Deprecated public interface IProjectCallback
| Method Summary | |
|---|---|
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[] The resource id is the value of a R.styleable.<name>, and this method will return the name of the resource. |
| Method Detail |
|---|
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 constructor
java.lang.Exceptionjava.lang.String getNamespace()
java.lang.String[] resolveResourceValue(int id)
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)
id - the Id to resolve.
null if not found.
java.lang.Integer getResourceValue(java.lang.String type,
java.lang.String name)
R.<type>.<name>.
type - the type of the resourcename - the name of the resource
null if not found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||