Create aSimple Cat Facts application

Create an application that allows the user to search for different cat breeds and to get information about them. The application must use the Cat API (https://thecatapi.com/) – specifically read the documentation (https://docs.thecatapi.com/) for information about how to get an API key, and how to use the API. You can get the free API key and use it for this application without any issues 

You will use the data returned as JSON from the Cat API to list the breeds of cats available through the site in a drop-down (known as a Spinner in Android development). Once the breed is selected, the API may be contacted again to obtain the image of the cat, if one exists. You should keep the spinner in a fragment near the top of the app.

The fragment near the bottom of the app should contain an ImageView, and multiple widgets/views for displaying text about the cat. In addition to displaying the image of the cat, you should show information such as the name, temperament, and origin. The image view and other widgets for the breed information could be kept inside a ScrollView.

Note: Use the Fragment + ViewModel template in android studio to start this assignment. 

Language: Java or Kotlin

Tags: No tags