You all prolly dont care but does someone know a method to get back into an instagram account? I somehow forgot my password. I would appreciate any tricks you can offer me
very straight and clear explanation! Missing Multipart post request.. which is very important in the real projects..! There are cases you might want to post media files and json data..! Anyways.. thanks for your videos!
It really helping and nice tutorial. Can We make common place or class i.e. API _PRESENTER for all the calls.enque ? It will remove all the seperate calls and calling will occure in a single place.. What do you think ? And yes please add video for the use of Multipart and using Interceptors like Logging Interceptor, HTTP Headers, Authentication, Error Handling. Thanks.
I would like to see more explanation on how to create the POJO in step 2. I assumed that you have to create a class matching the JSON response, but you don't mention this. For more complex responses, it would be helpful to know how to create the class.
jsonplaceholder is a TEST API, you cannot actually post there. you need to create your own api for the same, and for that you can watch my REST API playlist using nodes and mongodb th-cam.com/play/PLdHg5T0SNpN3EoN3PEyCmPR42Ok_44OFT.html Subscribe like share 😊
Thanks a lot. I wanted to know this to show a prototype to a client( to access a database record via a rest call from android) . How to show the response on the emulator window itself instead of in the log . I dont know android though i know java very well
Hello Thank you for the video it is very helpfull I just have a problem I get the error do you now why for me ervery things is ok ? E/MainActivity: onFailure: Unable to resolve host "jsonplaceholder.typicode.com": No address associated with hostname Thank you one more time !!!
The create method used here is a part of Retrofit Class and basically, by using this we are saying that use the returned instance of retrofit found (New if null or if existed then that) and then call the create method which will then invoke interface class. ApiInterface.class in this case.
can you tell solution for post method i am getting timeout error message at end this means that my onResponse is not working and any solution for that please
@@mafiacodes So much errors are there starting with ArrayIndexoutofBounds and ending with this 2020-06-22 11:13:44.707 2007-2714/? E/PhenotypeFlagCommitter: Retrieving snapshot for com.google.android.gms.phenotype failed java.util.concurrent.TimeoutException: Timed out waiting for Task at auct.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):22) at anen.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):23) at anen.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):16) at anen.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):27) at anft.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):5) at com.google.android.gms.phenotype.sync.HeterodyneSyncTaskChimeraService.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):63) at com.google.android.gms.phenotype.sync.HeterodyneSyncTaskChimeraService.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):74) at adyp.call(Unknown Source:4) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at sji.b(:com.google.android.gms@201817022@20.18.17 (040700-311416286):12) at sji.run(:com.google.android.gms@201817022@20.18.17 (040700-311416286):7) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at spj.run(:com.google.android.gms@201817022@20.18.17 (040700-311416286):0) at java.lang.Thread.run(Thread.java:764)
Really appreciate your work brother most of the error i get solved but one error is there in apiclient.java (. addConverterFactory) is coming with red code instead i had synced the gradle file withe adding gson converter .
I strongly recommend this video to beginners on retrofit! Love the video!
Its this love of you guys, that motivates me. Thank you, SUBSCRIBE LIKE SHARE.
Yes, you are said correct.
You all prolly dont care but does someone know a method to get back into an instagram account?
I somehow forgot my password. I would appreciate any tricks you can offer me
First time here and subscribed. The best clean and amazing.....Keep it up
First time here and subscribed. The best clean and amazing. Respect Man.
Thanks and welcome
What a beautiful clean tutorial
Thank you! 😊
Sir, use youtube data api to fetch videos
very straight and clear explanation! Missing Multipart post request.. which is very important in the real projects..! There are cases you might want to post media files and json data..! Anyways.. thanks for your videos!
truely amazing will recommend those who are completely beginners thank you so much sir
It's my pleasure
Wow.. Amazing. Your explanation is very clearly.
Very useful for beginners...Thanks for uploading the videos...
Because of you I understood very clearly thank you so much.
keep doing brw..you are insane in teaching
Its Great Video Cleared Concepts Easily
Subscribe like share 😊
API shows only 10 post at a time , how to get another post ??
That depends on api
It really helping and nice tutorial.
Can We make common place or class i.e. API _PRESENTER for all the calls.enque ?
It will remove all the seperate calls and calling will occure in a single place..
What do you think ?
And yes please add video for the use of Multipart and using Interceptors like Logging Interceptor, HTTP Headers, Authentication, Error Handling.
Thanks.
I’ll try
How we can send multiple images/files/video using retrofit esp using PartMap function...?
Nice, short & clear explanation sir
Subscribe like share 😊
I would like to see more explanation on how to create the POJO in step 2. I assumed that you have to create a class matching the JSON response, but you don't mention this. For more complex responses, it would be helpful to know how to create the class.
Agreed will make it
But the data which i am posted is showing on "LogCat" but not showing on "jsonplaceholder.typicode.com/posts". Caan you Help me Please
jsonplaceholder is a TEST API, you cannot actually post there. you need to create your own api for the same, and for that you can watch my REST API playlist using nodes and mongodb
th-cam.com/play/PLdHg5T0SNpN3EoN3PEyCmPR42Ok_44OFT.html
Subscribe like share 😊
Really you made it very easy
Subscribe like share
Thanks a lot. I wanted to know this to show a prototype to a client( to access a database record via a rest call from android) . How to show the response on the emulator window itself instead of in the log . I dont know android though i know java very well
Use recycler view
@@mafiacodes ok thanks for your reply
You made it a lot easier.
Hello Thank you for the video it is very helpfull
I just have a problem I get the error do you now why for me ervery things is ok ?
E/MainActivity: onFailure: Unable to resolve host
"jsonplaceholder.typicode.com": No address associated with hostname
Thank you one more time !!!
Sir ApiClient.getClient() returns a retrofit instance but why did u use .create() method afte that
The create method used here is a part of Retrofit Class and basically, by using this we are saying that use the returned instance of retrofit found (New if null or if existed then that) and then call the create method which will then invoke interface class. ApiInterface.class in this case.
can you tell solution for post method
i am getting timeout error message at end this means that my onResponse is not working
and any solution for that please
Timeout means ur host is down or is unreachable
@@mafiacodes thankyou very much ,great work . Awesome videos 👍 keep going
what is difference between and
Single entry in json array versus the whole array which has multiple entries
It means a single todo and later means an array of todos
Not a single entry in json array
how buttons automatically taking that particular function without using id?????
Because in the XML itself i hve added the onclick listener
@@mafiacodes yes got it thankxxx :) :)
Gson library is used to convert json in java object, Am i right?
yes
Sir by implementing latest retrofit version crashes the app but this version 2.5.0 is working fine? how
What error ur getting
@@mafiacodes So much errors are there starting with ArrayIndexoutofBounds and ending with this
2020-06-22 11:13:44.707 2007-2714/? E/PhenotypeFlagCommitter: Retrieving snapshot for com.google.android.gms.phenotype failed
java.util.concurrent.TimeoutException: Timed out waiting for Task
at auct.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):22)
at anen.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):23)
at anen.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):16)
at anen.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):27)
at anft.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):5)
at com.google.android.gms.phenotype.sync.HeterodyneSyncTaskChimeraService.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):63)
at com.google.android.gms.phenotype.sync.HeterodyneSyncTaskChimeraService.a(:com.google.android.gms@201817022@20.18.17 (040700-311416286):74)
at adyp.call(Unknown Source:4)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at sji.b(:com.google.android.gms@201817022@20.18.17 (040700-311416286):12)
at sji.run(:com.google.android.gms@201817022@20.18.17 (040700-311416286):7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at spj.run(:com.google.android.gms@201817022@20.18.17 (040700-311416286):0)
at java.lang.Thread.run(Thread.java:764)
tienes el proyecto ? estoy haciendo un trabajo parecido para la universidad . me podrias ayudar?
Sí, el proyecto está en Github, y sí, puedo ayudarte
How can I host my videos on server and get a good video player like udemy? Can you suggest me how can I do that please?
for android u can use exoplayer
Nice video, can you pleaseexplain how to add new post or comment to blog from Android app .
Do you have Retrofit Kotlin tutorial? :)
No bro, but you can copy this java code and paste in kotlin file and it will be automatically converted in android studio
only one indian guy tutorial i can watch. and its good
Glad u like
It is really awsm
Hii Sir...Thank you so much for this video. video is very useful for my project
Like Subscribe Share
Sir please make video on how to store json fetch data in sqlite database I. Android studio
th-cam.com/video/qO56SL856xc/w-d-xo.html
Hi Sir, It would appreciate if you make a video to capture token sent from server and request server for data with the token.
will make
Waawwwwwww..truely awsome
Really appreciate your work brother most of the error i get solved but one error is there in apiclient.java (. addConverterFactory) is coming with red code instead i had synced the gradle file withe adding gson converter .
Share ur code on github, coz thr is no reason to get errors.hav u added the proper gson converter.
bro can u plzz , make a video on Firebase push notification, plzz do not say nooooo
Thanks a lot sir
sir, can you provide more videos on Retrofit?? please make it sir.
Like what kind if more videos?
@@mafiacodes retrofit methods put,patch, delete
Thank you so much. :)
Subscribe like share
Please make a same video in Kotlin
How to implement retrofit android token based authentication> Sir, please make a video on it.
Use token in headers
thank you so much
Sounds like typing on Cherry keyboard :-)
Great Video sir, iam trying to get the response of all the users with address and other info. Can anyone help me how to get the whole information
Is this ur own API or a free api, may b then i can help, it depends on what the api returns.
are bhai hindi mai bhi bna lo english mai bhut sare tutorial hai
Sir, reveal your face...
Lol yes sometime 😊