Connect to the internet

Learn how to get data and images from the internet and display them in the app. You complete the MarsRealEstate app, which shows properties for sale on Mars by retrieving data from a web service.

 

Get data from the internet

Codelab

Import the starter code for the MarsRealEstate app. Learn how to use community-developed libraries to build a network layer.

Load and display images from the internet

Codelab

Load and display photos from a web URL.

Filter and create views with internet data

Codelab

Use complex binding expressions in your layout files to mark Mars properties in the grid layout as being available for sale. You also make Retrofit requests to a web service with query options in order to show filtered views of the Mars properties (for sale or rent). Lastly, you create a details view for each individual property and set up the navigation for them.

Connect to the internet quiz

Test your knowledge and earn your Connect to the internet badge.