Here is your test task and submission instructions:

Write an app that will have a text input field where the user can enter an English word, and a search button after pressing which the app will search for the definition of this word.

For search use Free Dictionary API https://dictionaryapi.dev/, this one https://api.dictionaryapi.dev/api/v2/entries/en/

Mandatory requirements:

  • the app must show on UI list of mandatory fields from response JSON (for example look at the bottom), also feel free to add any other fields that you want to display, it will be a plus
  • the app must conform to Clean Architecture principles
  • on the presentation side use ViewModel

Here is the list of recommended libraries but you can use any library that you think will help you in solving this task:

  • networking Retrofit
  • parsing of response GSON/Moshi
  • local cache Room/Realm

In terms of UI, there are no specific requirements, it should be sufficient to perform the required actions of searching for the word definition and showing the result. If you want, you can make it as fancy as you wish, it will be a plus.

Nice to have: