Uploaded June 2022 | Updated November 2026, 1 hour ago
Android Tutorial For Beginners - Learn how to handle API errors in retrofit. Learn how to parse errorbody in android retrofit library. This tutorial aims to help you understand api implementation using retrofit in an android app. Learn how to use JSONObject to parse json response for errors. Learn how to implement NetworkResult class for handling different states of an api request i.e. loading state, success state or error state. Based on the state, we will be taking actions inside our android notes app.
This Network Result class is the Google Recommended best practice to handle API response with LiveData. Learn how to use this livedate to show loader/progress bar in an android app. Learn step by step - how to create a fully functional android app with simple example in Hindi.
Topics covered -
1. Learn how to use Livedata i.e. Mutable Live Data and LiveData.
2. Define LiveData Observer inside fragments.
3. NetworkResult Sealed Class with Generics to handle different states.
4. Handle API Errors in Retrofit Implementation i.e. ErrorBody
5. Complete Notes Android App Tutorial Hindi
Complete Dependency Injection Playlist Link -
youtube.com/playlist?list=PLRKyZvuMYSIPwjYw1bt_7u7nEwe6vATQd
Complete Android Architecture Components Playlist -
youtube.com/playlist?list=PLRKyZvuMYSIO0jLgj8g6sADnD0IBaWaw2
Beginner series in Android Playlist (Hindi) -
youtube.com/playlist?list=PLRKyZvuMYSIN9sVZTfDm4CTdTAzDQyLJU
Kotlin Beginners Tutorial Series -
youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G
For more info - visit the below link
cheezycode.com
Source Code -
github.com/CheezyCode/YetAnotherNotesApp
We are social. Follow us at -
Facebook - facebook.com/cheezycode
Twitter - twitter.com/cheezycode
Instagram - instagram.com/cheezycode
Android Tutorial For Beginners - Learn how to handle API errors in retrofit. Learn how to parse errorbody in android retrofit library. This tutorial aims to help you understand api implementation using retrofit in an android app. Learn how to use JSONObject to parse json response for errors. Learn how to implement NetworkResult class for handling different states of an api request i.e. loading state, success state or error state. Based on the state, we will be taking actions inside our android notes app.
This Network Result class is the Google Recommended best practice to handle API response with LiveData. Learn how to use this livedate to show loader/progress bar in an android app. Learn step by step - how to create a fully functional android app with simple example in Hindi.
Topics covered -
1. Learn how to use Livedata i.e. Mutable Live Data and LiveData.
2. Define LiveData Observer inside fragments.
3. NetworkResult Sealed Class with Generics to handle different states.
4. Handle API Errors in Retrofit Implementation i.e. ErrorBody
5. Complete Notes Android App Tutorial Hindi
Complete Dependency Injection Playlist Link -
youtube.com/playlist?list=PLRKyZvuMYSIPwjYw1bt_7u7nEwe6vATQd
Complete Android Architecture Components Playlist -
youtube.com/playlist?list=PLRKyZvuMYSIO0jLgj8g6sADnD0IBaWaw2
Beginner series in Android Playlist (Hindi) -
youtube.com/playlist?list=PLRKyZvuMYSIN9sVZTfDm4CTdTAzDQyLJU
Kotlin Beginners Tutorial Series -
youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G
For more info - visit the below link
cheezycode.com
Source Code -
github.com/CheezyCode/YetAnotherNotesApp
We are social. Follow us at -
Facebook - facebook.com/cheezycode
Twitter - twitter.com/cheezycode
Instagram - instagram.com/cheezycode










