-
Notifications
You must be signed in to change notification settings - Fork 0
Android code assessment
W.Elsinga edited this page Jul 10, 2023
·
7 revisions
Create an Android application written in Kotlin that fetches a list of cats from an API endpoint and displays it in a nice looking list using up-to-date common Android UI practices.
You may use any 3rd party library.
Use the TheCatAPI to get a list of cat breeds and show one image for each breed. (You may need to obtain an authentication key which can be done at the main site.)
[GET] https://api.thecatapi.com/v1/breeds/?page=1&limit=12
[
{
"weight": {
"imperial": "6 - 11",
"metric": "3 - 5"
},
"id": "bomb",
"name": "Bombay",
"cfa_url": "http://cfa.org/Breeds/BreedsAB/Bombay.aspx",
"vetstreet_url": "http://www.vetstreet.com/cats/bombay",
"vcahospitals_url": "https://vcahospitals.com/know-your-pet/cat-breeds/bombay",
"temperament": "Affectionate, Dependent, Gentle, Intelligent, Playful",
"origin": "United States",
"country_codes": "US",
"country_code": "US",
"description": "The the golden eyes and the shiny black coa of the Bopmbay is absolutely striking. Likely to bond most with one family member, the Bombay will follow you from room to room and will almost always have something to say about what you are doing, loving attention and to be carried around, often on his caregiver's shoulder.",
"life_span": "12 - 16",
"indoor": 0,
"lap": 1,
"alt_names": "Small black Panther",
"adaptability": 5,
"affection_level": 5,
"child_friendly": 4,
"dog_friendly": 5,
"energy_level": 3,
"grooming": 1,
"health_issues": 3,
"intelligence": 5,
"shedding_level": 3,
"social_needs": 4,
"stranger_friendly": 4,
"vocalisation": 5,
"experimental": 0,
"hairless": 0,
"natural": 0,
"rare": 0,
"rex": 0,
"suppressed_tail": 0,
"short_legs": 0,
"wikipedia_url": "https://en.wikipedia.org/wiki/Bombay_(cat)",
"hypoallergenic": 0,
"reference_image_id": "5iYq9NmT1",
"image": {
"id": "5iYq9NmT1",
"width": 1250,
"height": 650,
"url": "https://cdn2.thecatapi.com/images/5iYq9NmT1.jpg"
}
},
...
Spend no more than 3 hours on the app.