java.lang.Object | |
↳ | com.droidux.pack.layouts.DroidUxLayoutsLib |
A class to manage the registration of the component library.
Every application that is using the component library, needs to register and initialize the library by calling theregister(String, android.app.Application)
or
the register(String, android.app.Application, String)
methods.
If you want to change the default prefix used for resources, then you should use the later method.
Note: The default resource prefix used by this library is dux
. If you change the resource prefix, you have to make sure that all the resources used
by the library are available with the new prefix.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the prefix of the resources used by the library.
| |||||||||||
Registers and initialize the component library for use by the Application with the
specified
licenseKey . | |||||||||||
Registers and initialize the component library for use by the Application with the
specified
licenseKey . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the prefix of the resources used by the library.
Registers and initialize the component library for use by the Application with the
specified licenseKey
.
resourcePrefix
instead of
the default prefix. Therefore you have to make sure that all the necessary resources are available
with the new prefix.licenseKey | If not null or empty string, this key will be used to validate your license. |
---|---|
context | The Application that is using the library. |
resourcePrefix | The new resource prefix. |
Registers and initialize the component library for use by the Application with the
specified licenseKey
.
licenseKey | If not null or empty string, this key will be used to validate your license. |
---|---|
context | The Application that is using the library. |