Extending the App
You could further design and create new screens and functionalities for your app using your Zoho CRM data provided by the SDK APIs as per your requirements. There are no front-end restrictions in developing your app.
To ease your access to Zoho CRM Rest APIs, the SDK takes care of OAuth authentication, request and response structures of the REST APIs and returns defined Kotlin wrapped objects as API responses. Hence, a REST API invocation would just be a normal method call for the client app.
All Zoho CRM entities are modeled as Kotlin classes with a "ZCRM" prefix. For instance, ZCRMModule, ZCRMRecord, ZCRMUser and so on. The classes follow the hierarchy as per the entities in Zoho CRM. Every class is modeled with its respective properties and provision to access its child entities are given as methods.
Methods are provided in the ZCRMSDKUtil class to get the top level instances like company info, modules, etc. Refer to our sample codes for more details.
Here is the class hierarchy of the various components of Zoho CRM Android SDK.
Delegate Objects
To avoid unnecessary API calls to retrieve the metadata of a company or module, you can call the entity's object with its delegate method using the ZCRMSDKUtil class, and use the same delegate object to perform related operations of that entity.
Refreshing the Cache
If you have enabled caching, the SDK caches all metadata API responses by default, and renews the cache as per the configured cache validity time. If you want to refresh the cache before the validity time, use the methods suffixed with "FromServer", to ignore the local cache and get a response from the API.