Get data from the internet

Implement coroutines to perform tasks concurrently without blocking the app, and learn about HTTP and REST to get data from the internet.

6 activities1 quiz
1

Connect to the internet

Video Optional

In this unit, you’ll learn how to build an app that can get data from the internet.

2

Introduction to Coroutines in Kotlin Playground

Codelab

Within Kotlin Playground, learn to use Kotlin coroutines to write asynchronous code.

3

Introduction to Coroutines in Android Studio

Codelab

Learn to use Kotlin coroutines inside an Android app and how to test coroutines.

4

Introduction to HTTP/REST

Video Optional

Learn how apps communicate with each other using HTTP and serve data over HTTP using REST services.

5

Get data from the internet

Codelab

Connect your app to backend servers using the third-party library Retrofit and learn how to consume REST web services.

6

What's next?

Video Optional

Well done! This pathway was really long, and you learned several important topics, such as coroutines for concurrent programming and Retrofit, a library for working with REST services.

Quiz

Test your knowledge and earn your Get data from the internet badge.