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
If you want to get started quickly with self-contained code examples that you can run directly from your code editor, you can explore the quickstart samples on GitHub.