Working with third-party API services

What you will learn

How do I send requests and receive responses from the Internet?

How to display a picture by link?

How to use libraries and tools such as Glide, Picasso, Jetpack compose, HttpURLConnection, Ok Http, Json, Gson, RxJava, coroutines, Flow, Retrofit, MVP

How to work with the API of third-party services


What is this course about?

This course will help you understand how to work with the Internet on an android device, how to download and display a picture, which libraries and tools to use for this.

My course will have a number of distinguishing features:

Get Instant Notification of New Courses on our Telegram channel.

DealsCrown Telegram Banner
  1. I will use the startup method. That is, try to do things so that we can see the results faster, whatever they may be, and write less code at the same time. Because, from my point of view, visual validation helps us know that we’re moving in the right direction. So the initial versions of the application will not be quite architecturally correct. However, we will fix this later on.
  2. I will try to use all new technologies: Glide, Picasso, Jetpack compose, HttpURLConnection, OkHttp, Json, Gson, RxJava, coroutines, Flow, Retrofit, MVP and others. Exactly the ones that are required in the android developer jobs.
  3. I will try to do one action in several ways, so that you have a choice and an understanding of what’s going on.
  4. I will provide complete code so that you can insert it into your project and reproduce it without too much difficulty.
  5. We will go from the simple to the complex, but always rely on the visual result.

After completing the course, you will be able to make an application that will display a list of photos from the Internet.

Who will benefit from this course?

This course will be useful for intermediate-level android developers who have no experience with the Internet yet. Beginner developers who have no experience at all will probably not be able to take it. You’re better off taking the beginner’s course and then coming back to this course.



Choosing an example

Choosing an example
Step 1. Display the picture with Glide
Step 2. Display the picture with Picasso
Step 3. Switching from xml to jetpack compose
Step 4. Display the photo with compose
Step 5. Send a request to the network and receive the result using HttpURLConnec
Step 6. Send a request to the network and get the result using OkHttp
Step 7. Parsing a query with Gson and retrieving data from it
Step 8. Using rxJava to handle multi-threading when receiving requests
Step 9. Using kotlin coroutines to handle multi-threaded queries
Step 10. Using kotlin flow to handle multithreading when receiving requests
Step 11. Sending a request to the network and getting the result with Retrofit
Step 12. Get a list of pictures
Step 13. Applying the MVP pattern
Overall conclusion