Networking on Android using Retrofit 2
4.0 (1 rating)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
9 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Networking on Android using Retrofit 2 to your Wishlist.

Add to Wishlist

Networking on Android using Retrofit 2

Send requests and handle responses using Retrofit 2 library
New
4.0 (1 rating)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
9 students enrolled
Created by Gayrat Rakhimov
Last updated 9/2017
English
English [Auto-generated]
Current price: $10 Original price: $50 Discount: 80% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 2 hours on-demand video
  • 23 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
What Will I Learn?
  • Set up Retrofit 2 library and use in future projects
  • Integrate Retrofit 2 in existing projects
  • Use library more efficiently and solve more complicated problems if you are experienced developer
View Curriculum
Requirements
  • You should be able to set up Android development environment (JDK, Android Studio and SDK)
  • You should be familiar with what HTTP, JSON, XML, Server are
Description

In this course you will learn:

  • How to send request using Retrofit 2 library
  • How to handle response
  • How to use Retrofit 2 annotations

In the end of this course you will be able:

  • To send GET request with query parameters and headers
  • To send POST request with Multipart form data and Url encoded form data
  • To integrate JSON and XML converter into Retrofit 2
  • To integrate HTTP logging interceptor

This course is practical and engaging:

  • Less theory, more practice
  • Information is simplified as possible
  • Each tutorial is provided with code example
  • 12 practical tasks doing which you learn by doing
  • In the end of course, you will create soccer application from scratch using Retrofit 2 library
Who is the target audience?
  • Anyone who wants to use Retrofit 2 library in their project
  • Anyone who wants to set server-client communication using Retrofit 2
  • Anyone who does not want to spend time for watching YouTube videos, read tutorials from different sources where only basics are covered or information are not structured
Compare to Other Android Development Courses
Curriculum For This Course
26 Lectures
02:02:17
+
Welcome to the course
2 Lectures 07:28

Add Retrofit library to Android application project

Preview 05:39
+
Sending requests
14 Lectures 33:37
HTTP methods
02:38

After completing lecture, you will be able to send GET request using Retrofit

GET request
04:25

Send GET request to get array of users in JSON format
GET request: task
1 question

You will be able to send POST request using Retrofit

POST request
02:21

In this task, you should send POST request to send new POST in JSON format
POST request: task
1 question

Query: single parameter
02:09

In this task, you should send GET request to https://jsonplaceholder.typicode.com/comments with parameter postId=1 and show response in Android monitor
Query: task
1 question

Query: multiple parameters
01:44

Query: multiple parameters with the same name
02:02

Send GET request to https://jsonplaceholder.typicode.com/users with parameters id=1, id=2 and id=3. Show response in Android monitor.
Query: task
1 question

Query: null parameter
03:24

Query: map of parameters
01:57

Path: change part of URL
02:23

Send GET request to https://jsonplaceholder.typicode.com/users/1 using @Path annotation and show response in Android Monitor.
Path: task
1 question

Url: how to send request to url with different endpoint
03:09


Send POST request with image to ocr.scape API and show recognized text in Android Monitor.
Multipart: task
1 question

FormUrlEncoded
01:47

Send POST request with new user data as Form Encoded data.
FormUrlEncoded: Task
1 question

Headers: static
01:31

Headers: dynamic
01:26

Integrate Basic Authorization using Retrofit
Headers: task
1 question
+
Handling responses
5 Lectures 15:37
Logging
02:59

JSON converter
02:44

Get post with id=1, parse it and show title in Android monitor
JSON converter: task
1 question

Create Java classes faster using JsonSchema2POJO
03:38

Create Todo class using JsonSchema2POJO and parse list of todos. Show amount of todos in Android monitor.
Create Java classes faster using JsonSchema2POJO: task
1 question

JsonSchema2POJO: offline usage
03:28

XML converter
02:48

Send GET request and get RSS feed in XML format, parse it and show each item's title in Android monitor.
XML converter: task
1 question
+
Practice
4 Lectures 32:15

Practice: setup
06:49

Practice: standings
12:55

Practice: fixtures
10:56

Show topscorers in new fragment
Practice: task
1 question
+
Conclusion
1 Lecture 01:18

COUPONS FOR MY OTHER COURSES: 

Remote Controlled Car with Arduino and Android: https://www.udemy.com/remote-controlled-car-with-arduino-and-android/?couponCode=RETROFIT2017

Congratulations!
01:18
About the Instructor
Gayrat Rakhimov
4.8 Average rating
4 Reviews
26 Students
2 Courses
Android Trainer at Android Club Uzbekistan

For last 4 years, I am developing Android applications. I have participated in different projects from Japanese dictionary to ERM applications.

I teach Android development at Android Club Uzbekistan. I trained more than 20 students and helped them to develop their application.

I worked as lecturer associate at Westminster International University in Tashkent. I taught System Analysis and Design.

Currently, I am blogging and creating Youtube tutorials on Android development.