It’s recommended to use the Kotlin API client, which is better suited for Android development.
Algolia officially supports eleven API clients, each in a specific programming language, and tailored to that language’s unique paradigm and ecosystem.
The API clients are an important part of Algolia’s search ecosystem. Using these clients to interact with Algolia is highly recommended.
Source on GitHub