Комментарии:
You saved my day man, Small contribution from my side for your channel. Keep it up
Ответитьthanks bro
Ответитьim not getting the retrofit option
Ответитьwhat version should i add now? for gson , retrofit and compile?
ОтветитьYes, it is very useful. Thanks a lot.
ОтветитьIt is very simple
You are brilliant mentor
Super helpful thanks a lot
ОтветитьWebsite not found
Ответитьnicely explained😇😇😇
ОтветитьHey sure how can i get u
ОтветитьThe app keeps crashing. I did exactly as u did. Could you help me out?
ОтветитьPlease make for post api
ОтветитьThanks a lot. Looking to learn more on authentication of REST APis
Ответитьu r best from bangladesh
ОтветитьHello, my emulator keeps crushing...I checked the logcat and it looks like there is an error on .buid() (line 23 in your video) in getmyData function and a problem with calling the getMyData function (just below the setContentView, line 14). I checked my code multiple times, but I couldn't figure out what's wrong.
Please help!
Awsome
ОтветитьThe txtId that you used in Main Activity file from .xml file is not working properly and showing errors, can you tell what's wrong? @YashNagayachCode
ОтветитьThis is the first vedio where I understand what is retrofit
ОтветитьHey Yash i have a problem and i hope you can help me,
my api response looks like
```
{"BYTE":["byte","byte","byte","byte"],"IP":["ip","ip","ip","ip"],"NAME":["name","name","name","name"],"PORT":["port","port","port","port"]}
```
and the code doesnt like that i searched in the internet for a solution/another serializer, but all the solutions doesnt work, e.g.
stackoverflow /questions/40973633/retrofit-2-get-json-from-response-body
class MainActivity : AppCompatActivity() {
lateinit var text1: TextView
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
text1 = findViewById<TextView>(R.id.txtId)
getMyData();
}
When I call GsonConverterFactory.create(), it's show error Unresolved reference: GsonConverterFactory. I already declare 'com.squareup.retrofit2:converter-gson' in file build.gradle. Please help me!!!
ОтветитьThank you for taking time and doing this,
ОтветитьThank you my friend !
Ответитьsorece code will specially the jason data
Ответитьfrom morocco thank you great tuto
ОтветитьHello sir i just try to learn but in my ide android studio m not able to import call class of Retrofit2 plz help me how can i get it
ОтветитьWhat do you do if the JSON response is an Object and not an Array?
ОтветитьVery clear and thorough tutorial. Thanks for explaining the little details too!
Ответитьhi i implemented everything exactly the same as you did. but the text view doesn't update. I think it's because the onresponse method is not being called. help?
Ответитьsir, I am getting error
java.lang.NullPointerException
Help me to slove this..
superb explanation..
Ответитьvery useful,thank you
ОтветитьThis video helps me a lot. I really appreciate it. <3
ОтветитьHello sir can i get a reference for api calling (retrofit) and shared pref (kotlin)
Ответитьthank you very much!
ОтветитьVery nice explanation at adequate pace.
ОтветитьNice video 💯 💯💯 working video 👍🏻👍🏻
ОтветитьHi thanks for video, it helped me somehow but I still getting this error. Could you help me? ERROR: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2
Ответитьиндусы сила
ОтветитьPlease create a tutorial with filtering the data using an <EditText> and reshowing it in the recyclerview
ОтветитьGreat guide, pretty elegant done. You help me a lot to understand the use of Retrofit and solved a problem I had.
ОтветитьTHIS is good. but for me it is not working.I debugged and found out that the Enqueue method is not executed,it skips it ,I dont know why.may you help?
ОтветитьWow this is awesome 😎 keep on teaching
ОтветитьThanks video👍👍👍
ОтветитьHow to add internet permissions for a backend application (not an android one), I am getting connect timeout err.
Ответитьgreat explanation but doesnt work - doesnt change textview
Ответить