AntUI supports three types of access: native AAR and component-based connection (Portal & Bundle).
Prerequisites
For the native AAR connection type, complete the prerequisites and follow the steps in Add mPaaS to your project.
For the component-based connection type, complete the Component-based connection flow.
Add SDK
Native AAR connection
Use Component Management (AAR) to install the AntUI component in your project. For more information, see AAR component management.
Component-based connection
In the Portal and Bundle projects, install the AntUI component using Component Management. For more information, see Manage component dependencies.
Code example
Download the Android demo and view the code in the AntUI project. For more information, see Get code examples.