Dog of the Day App
This project demonstrates how to make web API requests using network calls, how to parse API responses, and how to load images from a network location and display them.
The completed app should:
- Display a random dog image
- Have a button that lets the user generate a new image
- Main endpoint: https://dog.ceo/api/breeds/image/random
- The API response from that endpoint looks like:
{
"message": "https://images.dog.ceo/breeds/briard/n02105251_7738.jpg",
"status": "success"
}
- You can read more about the specific endpoint here: https://dog.ceo/dog-api/documentation/random
- Let user input dog breed and see dog images from just that breed (check out endpoints for breed specific images: https://dog.ceo/dog-api/documentation/breed)
- Add loading and error images ✅ (you can see examples of how to do this in Step 3 of the Load and display images from the Internet codelab
- This app uses an image of a paw as a loading icon
- Android Basics Pathway: Get and display data from the internet
- Challenge: This YouTube video explains additional Coil features
- Similar Exercise: Inspirational Quotes Exercise