#3 Youtube API - Parsing JSON into Recyclerview Android

Опубликовано: 03 Ноябрь 2024
на канале: Jabir Developer
6,943
85

This video is a part of tutorial series Youtube API V3 in Android Studio.
In this video we gonna learn how to displaying youtube api v3 into recyclerview in android.

===========================================

Step 1 - Open your Android Studio project that we created in the previous video.
   • #2 Youtube API - Create Bottom Naviga...  

Step 2 - Create new layout file for displaying recyclerview item

Step 3 - Add retrofit and picasso library into your android studio project

implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.squareup.picasso:picasso:2.71828'

Alternative for picasso, you can use glide - https://github.com/bumptech/glide

Step 4 - Create new class for passing API

Step 5 - Create adapter for RecyclerView

Step 6 - Create new java class for connection into Youtube API using retrofit. Don't forget to add internet permission in AndroidManifest.xml

Step 7 - Displaying data Youtube API into home fragment

===========================================

You can learn more about Youtube API V3 from web documentation:
https://developers.google.com/youtube...

==========================================

Next video : Create RecyclerView Youtube Playlist
   • #4 Youtube API - Create RecyclerView ...  

=========================================

Youtube API V3 Playlist :
   • #1 Youtube API - Get API Key  

========================================

Social Media:
Facebook -   / jemberdeveloper  

Thank you for watching, if you have problem ask me on comment box below.

You can give some donation via PayPal : https://paypal.me/JabirDev