No video

Retrofit Android Tutorial Kotlin in Hindi | Android App Development Hindi - #3

  Рет қаралды 41,333

Cheezy Code

Cheezy Code

Күн бұрын

Android Tutorial Series For Beginners In Hindi - Learn how to use retrofit in android for networking. Learn by creating a small news app - learn how to make HTTP calls in Android using Retrofit in Hindi. Complete App to fetch data from an API covering HTTP GET requests. Retrofit is a very common library used in Android for HTTP. There are other libraries which are used - volley, okHttp, etc. Learn all this in Hindi.
Topics covered -
1. What is Retrofit in Hindi?
2. How to use Retrofit with an example
3. Basics of retrofit (Implement Interface, Create Retrofit Singleton object, Retrofit Builder)
4. Full working example of retrofit Hindi
5. GSON converter (JSON to Java Objects)
6. Learn how to define model classes for JSON to java objects
Learn everything about Android Retrofit from scratch in Hindi.
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step...
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
Java Beginners Tutorial Series -
• Java Tutorial For Begi...
For more info - visit below link
www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode

Пікірлер: 113
@advitiayanand5974
@advitiayanand5974 2 жыл бұрын
Bhaiiiiii kya samjhaya hai. Koi bhi aise samjhaega toh shayad library bnane wala bhi ek-aadhi nayi cheez samajh jaye. Mad respect bro!
@Op_Shisode
@Op_Shisode Жыл бұрын
Explaining the each and every line of the code, Make that environment for the learning, his voice flow, everything is just perfect. Thanks man
@spacegyaan2171
@spacegyaan2171 3 жыл бұрын
when you are explaining, your voice seem very calm, simple and easy to understand.
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you 🤘
@mushfiquehossainshafin2329
@mushfiquehossainshafin2329 11 ай бұрын
I was stuck at HTTP and HTTPS difference. Thank you so much for this explanation. Love from Bangladesh
@jatinvashisht4293
@jatinvashisht4293 3 жыл бұрын
After searching whole KZfaq I came to know that you also uploaded videos on retrofit. Should have checked the channel before
@TheTechnobie
@TheTechnobie 4 жыл бұрын
One of best series of Kotlin in India.
@CheezyCode
@CheezyCode 4 жыл бұрын
Thanks 😊... cheers
@rohitjakhar6672
@rohitjakhar6672 4 жыл бұрын
2 mahine se soch raha tha is topic ko krne ki aaj aapne 20 minute me krwa dia thank you sir
@CheezyCode
@CheezyCode 4 жыл бұрын
Thankyou.. aap logo se motivation milta h.. 😊
@rohitjakhar6672
@rohitjakhar6672 4 жыл бұрын
@@CheezyCode aur hme aapki video se motivation milta hain💛💛
@Subratsss
@Subratsss Жыл бұрын
One of the good video about Retrofit Implementation
@CheezyCode
@CheezyCode Жыл бұрын
🧡
@anikettikariha8066
@anikettikariha8066 3 жыл бұрын
best to the point video ever seen in youtube
@sakshamsharma3977
@sakshamsharma3977 3 жыл бұрын
Your Content is Nice But you Please make more Videos in Kotlin of the different topic's as a lot of content available in JAVA but not in Kotlin only So Plz Make more Video in Kotlin, And Your explanation is nice too. All the Best
@CheezyCode
@CheezyCode 3 жыл бұрын
Thanks 🤘
@user-gz7mr2zk8s
@user-gz7mr2zk8s 3 ай бұрын
Thank you very much Sir.
@AKBROS
@AKBROS 4 жыл бұрын
Thanks for the Video Bhai , Great Content
@maheshmahadar4780
@maheshmahadar4780 3 жыл бұрын
very informative video thanks
@mahadevbhumbar9442
@mahadevbhumbar9442 3 жыл бұрын
thank you sir the way of teaching is very best and easily understandable
@CheezyCode
@CheezyCode 3 жыл бұрын
Thanks 😊...ho ske Toh share kare...thoda motivation mile
@mahadevbhumbar9442
@mahadevbhumbar9442 3 жыл бұрын
@@CheezyCode definitely sir
@SaadAli-es4px
@SaadAli-es4px Жыл бұрын
Really appreciate your explanation sir, Thank you!
@snehaljoshi2949
@snehaljoshi2949 2 жыл бұрын
this i sbest,very easy to follow,thanks bro
@cgswaggernath8619
@cgswaggernath8619 2 жыл бұрын
Sir can you make a video in custome live Api to get ,post ,fetch,delete, update data in kotlin i hardly need a video to explain everything 🙏 your explanation is very good sir i clearly understand Please make a video through live API DATA BASSED and explain everything 🙏
@tahersanwar9123
@tahersanwar9123 Жыл бұрын
very nice explanation🤩🤩
@CheezyCode
@CheezyCode Жыл бұрын
Thanks a lot 😊
@adityakumarsingh7648
@adityakumarsingh7648 3 жыл бұрын
Itna acchaaa explaination thanks sir
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you 😊...please share with your friends if possible
@adityakumarsingh7648
@adityakumarsingh7648 3 жыл бұрын
@@CheezyCode already done sir with all my groups
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you so much ❤️
@lavishgarg4274
@lavishgarg4274 4 жыл бұрын
Sir pls thoda jldi jldi videos dalaiye ,sir agr do videos ke beech me interval 12-13 din ka rhta he aage bhi tkh,it will be very difficult for us to follow the series
@CheezyCode
@CheezyCode 4 жыл бұрын
Yes...parso Tak news wali complete hojayegi....badi app nahi h ye
@rafelsuha8710
@rafelsuha8710 3 жыл бұрын
thnx a lot bro im learning kotlin fr u
@CheezyCode
@CheezyCode 3 жыл бұрын
Thanks
@AKBROS
@AKBROS 4 жыл бұрын
Outro is Op 😁❤️, Apne Khud Record kiya kya bhai.
@CheezyCode
@CheezyCode 4 жыл бұрын
Yes....Thanks 😊
@ahmodakramchoudhury4256
@ahmodakramchoudhury4256 11 ай бұрын
Sir I'm facing an error while adding retrofit: Task :app:checkDebugAarMetadata FAILED [Fatal Error] retrofit-2.9.0.pom:2:1: Content is not allowed in prolog. [Fatal Error] converter-gson-2.9.0.pom:2:1: Content is not allowed in prolog.
@cococartoon8272
@cococartoon8272 11 ай бұрын
Change the version to newest version
@shyampratapchauhan7749
@shyampratapchauhan7749 3 жыл бұрын
Bro,Coroutine pe video banao jisme acchi tarah batao ki coroutine kyo use karte hai aur kaise work karta hai
@sifasiddiqui8325
@sifasiddiqui8325 Жыл бұрын
retrofit libary letest version add krne mai jdk mai issue areh hai
@priyamprakash1209
@priyamprakash1209 Жыл бұрын
In this ex only one country can be passed as query... If I want to fetch data from more than one country (but not all countries) how should the @ Query look like?
@CheezyCode
@CheezyCode Жыл бұрын
I think this api takes comma separated values for countries
@vikashkumar3606
@vikashkumar3606 Жыл бұрын
Sir with help of your tutorial now I am able to hit api call But sir on local server or unauthorised ssl url it’s not working. Please sir make video on it
@nikit8060
@nikit8060 4 жыл бұрын
Thank you again ♥️
@mformobileapps
@mformobileapps 2 жыл бұрын
i am building this in mvvm and getting null response from api
@ssr.sumit03
@ssr.sumit03 Жыл бұрын
Sir app bata Sahi rahe hai But Concept ko achhe se Nahi bata rahe hai ki jo predifined method hai uska work kya hai ...
@abhinavanand9798
@abhinavanand9798 Жыл бұрын
Sir , I have problem in addconverter factory (GsonConveterFactory. create()) i. e in create function showing error
@ravalsahil820
@ravalsahil820 4 жыл бұрын
great work sir🙏... keep it up
@CheezyCode
@CheezyCode 4 жыл бұрын
Thanks...do check the last part of the video...you will like it
@KajalSharma-it6ni
@KajalSharma-it6ni 3 жыл бұрын
I am not seeing any error man what to do? It just shows error in fetching details.
@komal7447
@komal7447 3 жыл бұрын
Code ka GitHub link dediya kijiye ese kahi atak jaate hain toh samjh nhi aata hai
@CheezyCode
@CheezyCode 3 жыл бұрын
Check the last video
@aakansharai8774
@aakansharai8774 Жыл бұрын
what should we do when we face error in fetching news
@ajaypawar958
@ajaypawar958 4 жыл бұрын
sir please make video on android Complete REST WebService
@CheezyCode
@CheezyCode 4 жыл бұрын
Sure thing....
@rishabjain2634
@rishabjain2634 2 жыл бұрын
before start learning the networking should I know about coroutines??
@CheezyCode
@CheezyCode 2 жыл бұрын
No
@Sweetcracks
@Sweetcracks 3 жыл бұрын
Hi bro, Retrofit ko esi POST API me kese use kare jisme pehle POJO nh milta? like token aur parameters pass krne k baad response aata h.. Thnxxx
@sashtikasankarananth1793
@sashtikasankarananth1793 Жыл бұрын
hi in fragment activity, my app crash. how to fix it!can u help me
@CheezyCode
@CheezyCode Жыл бұрын
What's the error?
@rahulravi1219
@rahulravi1219 4 жыл бұрын
Nice content sir... Plz make series on mvvm design pattern in android
@CheezyCode
@CheezyCode 4 жыл бұрын
jaldi he - stay tuned...pehle coroutines and room
@roushanali1918
@roushanali1918 2 жыл бұрын
how to hit an API after another APIs onResponse is completed?
@CheezyCode
@CheezyCode 2 жыл бұрын
Check coroutines video...it will be easier to implement via coroutines
@Piya_Journal_Unfolded
@Piya_Journal_Unfolded 2 жыл бұрын
how did you thought that page no. should be there?
@CheezyCode
@CheezyCode 2 жыл бұрын
API response
@adityaroy1851
@adityaroy1851 2 жыл бұрын
Sir token kysa use kare ?
@brijeshchauhan5599
@brijeshchauhan5599 3 жыл бұрын
Sir, please kotlin android development tutorial series start krdo.
@CheezyCode
@CheezyCode 3 жыл бұрын
Kar Diya bro
@abhinavpandey6207
@abhinavpandey6207 2 жыл бұрын
I'm getting the response in logcat as totalResults:38, article:null Kindly help please
@CheezyCode
@CheezyCode 2 жыл бұрын
Seems like json parsing for articles is not working
@talhashaikh1435
@talhashaikh1435 2 жыл бұрын
Bot bhari only thing you should tell how all things worked together like interface ,objects et al. in the end so that if will be more clearer.
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you Talha 😀
@hardcodeandroid
@hardcodeandroid 4 жыл бұрын
Sir Android with kotlin Ka beginner to advanced series start kariye na
@CheezyCode
@CheezyCode 4 жыл бұрын
Bilkul karenge
@chrizlove1340
@chrizlove1340 3 жыл бұрын
Bro how to resolve this error Expected a string but was BEGIN_OBJECT at line 3 column 12 path $.data
@CheezyCode
@CheezyCode 3 жыл бұрын
check the data and adjust your data classes accordingly. Json convert karne mei error aa rahi hai
@drop009
@drop009 2 жыл бұрын
sir my enqueue function showing error , i have searched it but didn't get the answer can anybody help
@CheezyCode
@CheezyCode 2 жыл бұрын
Check the code base on GitHub repo
@piyushmodi6484
@piyushmodi6484 2 жыл бұрын
Sir i have a doubt why you are using constant val in base url instead of companion object?
@CheezyCode
@CheezyCode 2 жыл бұрын
No standard against this - kuch bhi use kar sakte hai
@spacegyaan2171
@spacegyaan2171 3 жыл бұрын
why you didn't used coroutines
@CheezyCode
@CheezyCode 3 жыл бұрын
This series is meant for beginners. Follow our new series - usme sab kuch naya use karenge
@Dukhsiofficial
@Dukhsiofficial 3 жыл бұрын
14:00 sir yaha ye retrofit ka data type automatically kese aata h mre mughe manually likhna padta h
@magmacodes9143
@magmacodes9143 3 жыл бұрын
Control O to get list of Override-able functions.
@swapnilnangare119
@swapnilnangare119 2 жыл бұрын
where is next video
@CheezyCode
@CheezyCode 2 жыл бұрын
check the playlist section
@chetanprajapati3085
@chetanprajapati3085 3 жыл бұрын
In my code on error is cone can you solve this in MainActivity.kt file Unresolved reference: enqueue what do here???
@CheezyCode
@CheezyCode 3 жыл бұрын
try rebuilding your project and check the retrofit version...code is there on GitHub.com/cheezycode - try comparing your code with it
@chetanprajapati3085
@chetanprajapati3085 3 жыл бұрын
@@CheezyCode After rebuilding I am getting the same error C:\Users\cheta\Downloads\life4\app\src\main\java\com\example\life4\MainActivity.kt: (22, 14): Unresolved reference: enqueue
@CheezyCode
@CheezyCode 3 жыл бұрын
If everything is same - invalidate cache and restart android studio
@amanjotkaur2332
@amanjotkaur2332 4 жыл бұрын
Hi, do you have channel of flutter?
@CheezyCode
@CheezyCode 4 жыл бұрын
Videos will be uploaded here only... 🤘
@arpitkhandelwal2999
@arpitkhandelwal2999 3 жыл бұрын
hello sir If I want Souce Aur ID from the news Api then how to get it like as we have given nested json object thn how to be implement?? I am stuck here
@CheezyCode
@CheezyCode 3 жыл бұрын
ek aur data class banegi and dusri class mei iske liye reference banega...jab json parse hogi toh wo apne aap populate hojayega...nested objects se farak nahi padega....bas reference shi jagah add karna h... E.g. Response has Author then 2 classes are required - Response, Author. data class Response(var author: Author, var count: Int) like this.
@arpitkhandelwal2999
@arpitkhandelwal2999 3 жыл бұрын
@@CheezyCode Kuch kuch smj aaya implement bhi karke dek lia but adaptor m error aa rhi hai
@arpitkhandelwal2999
@arpitkhandelwal2999 3 жыл бұрын
@@CheezyCode News(totalResults=38, articles=[Article(Source=null, author=null, title="Duty To Nation, World": What Vaccine Makers Said On "Smooth" Rollout - NDTV, ....... Yeh source null ku aa rha hai is everything right Aapne jo kaha tha woh kia
@CheezyCode
@CheezyCode 3 жыл бұрын
Iss url ko direct access karne pe kya aa rha h?... agar ye null ho skta h toh data class mei nullable bana do
@arpitkhandelwal2999
@arpitkhandelwal2999 3 жыл бұрын
@@CheezyCode Ok Thanks Sir It works Now
@sahilgupta-ck7if
@sahilgupta-ck7if 3 жыл бұрын
bhai ek doubt hai, i have recieved the data from the api but i want to show it on the activity on device, will you please tell me how to show particular data from the whole data that we have recieved in xml file??
@CheezyCode
@CheezyCode 3 жыл бұрын
Textview
@sahilgupta-ck7if
@sahilgupta-ck7if 3 жыл бұрын
@@CheezyCode i tried but didn't got it right. can u give me some specific code please !!!
@CheezyCode
@CheezyCode 3 жыл бұрын
Can you tell me more about the requirements?
@sahilgupta-ck7if
@sahilgupta-ck7if 3 жыл бұрын
@@CheezyCode can i contact u on LinkedIn or anywhere else?
@yogeshbansal410
@yogeshbansal410 3 жыл бұрын
same as always GitHub link is missing man why??
@CheezyCode
@CheezyCode 3 жыл бұрын
Check the last video...
@yogeshbansal410
@yogeshbansal410 3 жыл бұрын
@@CheezyCode not able to understand which last video you are talking about
@CheezyCode
@CheezyCode 3 жыл бұрын
Check the playlist section
@arpitkhandelwal2999
@arpitkhandelwal2999 3 жыл бұрын
Hlo sir, Sir is it compulsory the GSON convertor in the retrofit. Because i am working with the Volley library to fetch data through server(Previously). I am new with this library Also which is best Retrofit or Volley because i am very confused and basic difference b/w these two Thank you:)
@CheezyCode
@CheezyCode 3 жыл бұрын
Go for Retrofit and it will be easier if used with convertors. You need objects to work with. Either you do it manually or let the library do it for you
@krishnacreation9211
@krishnacreation9211 Жыл бұрын
Val newsInstance : newsinterface Can we create instance of interface?
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 14 МЛН
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 14 МЛН
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 29 МЛН
Retrofit in Android Studio using Kotlin | Android Knowledge
19:05
Android Knowledge
Рет қаралды 6 М.
What You Didn’t Know About Retrofit with Kotlin - Android
43:33
Rahul Pandey
Рет қаралды 2,8 М.
The Ultimate Retrofit Crash Course
34:49
Philipp Lackner
Рет қаралды 92 М.
Android Retrofit Interceptors + OkHttpClient | CheezyCode (Hindi)
13:50
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 14 МЛН