
The following image is a screenshot of the final app, which contains a grid of images. The images are real-life photos from Mars, captured from NASA's Mars rovers. This app connects to a web service to retrieve and display Mars photos. You work with the app named Mars Photos, which shows images of the Mars surface. Use Retrofit's support for coroutines to simplify the code.Parse the JSON response from the web service into your app's list of data objects with the rialization library, and attach it to the UI state.Implement a data layer for your app using the Retrofit library.Modify a starter app to make a web service API request and handle the response.How to use the Serialization (rialization) library to parse the JSON response into a data object.




Gmail, YouTube, and Google Photos are example apps that connect to the internet to display the user data. Most Android apps in the market connect to the internet to perform network operations, such as retrieving emails, messages, or other information from a backend server.
