Best Practices when using the Asgardeo Android SDK
This guide provides best practices to follow when using the Asgardeo Android SDK. Following these best practices will help you to integrate the SDK seamlessly into your Android application.
Use the latest version of the SDK
Always use the latest version of the Asgardeo Android SDK to ensure that you have access to the latest features and bug fixes. You can find the latest version of the SDK in the Maven Repository.
MVVM architecture
When integrating the Asgardeo Android SDK into your application, it is recommended to use the Model-View-ViewModel (MVVM) architecture. This architecture helps to separate the UI logic from the business logic and provides a clean and maintainable codebase.
Use Dispatchers.IO
Suspended functions in the SDK are designed to be optimized for Dispatchers.IO
context.