Getting started with Retrofit - Crash Course 🔥

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024

ความคิดเห็น • 43

  • @vinithanabar277
    @vinithanabar277 ปีที่แล้ว +2

    I felt like you have just made the implementation of recycler view complex. And it would have been more good if you would explain about interceptor more. It will be slightly tough for beginners to understand. But still I managed to understand. A little bit of more explanation will make your content more good😊

  • @HIDDENPOOL_Dev
    @HIDDENPOOL_Dev ปีที่แล้ว +1

    Great video ☺️

  • @sahibaliyev2445
    @sahibaliyev2445 ปีที่แล้ว +2

    Hi Reyhane,
    Posters for the video in main screen will be repeated after nine elements, please help fix this bug. I think issue in DiffUtils isnt it?.
    Ouh i find ussue there i fogot override getItemViewType method in my adapter. Thank you.

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      Hi , first sorry for late , and about you issue , did you set -> holder.setIsRecyclable(false) on your onBindViewHolder in adapter ?

  • @meisamghasemzade2389
    @meisamghasemzade2389 ปีที่แล้ว +1

    Hi Professor . First of all, thank you for your good course. The second thing is that I encountered an error and I don't know how to fix it. I even copied your code into Github, but the problem still didn't go away. Thank you for helping me ❤️ Error: 👇
    E/RecyclerView : No adapter attached ; skipping layout

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      Hi Meisam , you're welcome😊 , i have checked the source code on GitHub and works for me without error and i could get the list of movies , so please check again your code with the git repo and also please check your adapter , and also where you passed the list into your adapter then set for Recycler view's adapter 😊 if you have any question , don't hesitate , ask me 😊

    • @meisamghasemzade2389
      @meisamghasemzade2389 ปีที่แล้ว +1

      @@AndroidGeekCo thank you😍

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      you're very welcome 😊

  • @swastikpanigrahi8398
    @swastikpanigrahi8398 ปีที่แล้ว +1

    Hi, I am getting this error : no adapter attached ; skipping layout. Could you please help me to resolve this?

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      Hi , its hard to say , maybe there is something wrong in your adapter or your Recyclerview's xml , Do you have your code on GitHub to check?
      please check your code with repo code and make sure all the things are same :
      github.com/ezatpanah/Retrofit-TH-cam

  • @unemployed_dev
    @unemployed_dev ปีที่แล้ว +1

    nice video help me so much 🤙🤙

  • @umanahuduak6347
    @umanahuduak6347 ปีที่แล้ว

    hi Rehane, thanks for your awsom videos, could you please make a video on retrofit and pagination

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      Hi , your welcome 😊 of cource , after next video، I will prepare a video for pagination with retrofit 👍

  • @NEMMOZ
    @NEMMOZ 2 ปีที่แล้ว +2

    What about MVVM and Coroutines?

    • @AndroidGeekCo
      @AndroidGeekCo  2 ปีที่แล้ว +3

      As soon as possible 😉 first I need cover basic topic and then I can cover mvp , mvvm , mvi 😊 and about coroutines , sure , I guess next video or after next is about coroutines 😊

  • @hossamqandel5303
    @hossamqandel5303 2 ปีที่แล้ว +1

    Could u make a tutorial about fcm and how to when a new message received make nitification show when user in foreground service?

    • @AndroidGeekCo
      @AndroidGeekCo  2 ปีที่แล้ว

      yeah , sure , I will try to prepare some videos about FCM in future 😊

  • @vladyslavdremliuha6147
    @vladyslavdremliuha6147 ปีที่แล้ว +1

    Hi! Great video! And how I can use this app, I need to create api key and paste it?

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      Thanks for your feedback 🤩 you can go to the website: www.themoviedb.org/ and register on it and then under setting section you can find your own API KEY and then paste it into your code

    • @vladyslavdremliuha6147
      @vladyslavdremliuha6147 ปีที่แล้ว +1

      @@AndroidGeekCo Thanks a lot, I've done that. But my application does not start, the loading wheel on a blue background is constantly spinning :-(

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      so , you should debug your app , in the logcat you can see what code you get when the request sending , or th-cam.com/video/KAuifVDU9F4/w-d-xo.html here on the onResponse method please put several log , step by step while completing this part and check logcat .

  • @mohamedraafat123
    @mohamedraafat123 ปีที่แล้ว +1

    Does he use a specific architecture pattern like mvvm or not in this video

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว +1

      in this video , there is no specific architecture pattern like mvvm , the purpose of this video is showing the concept of working with retrofit .in the future we will have a lot videos about ,how we can using architectures in kotlin

  • @phamvanbang1879
    @phamvanbang1879 ปีที่แล้ว +1

    Hi Reyhane, thanks for your video. Can you tell me how to create API_Key ? I don't understand about it

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      your welcome🤩 please go there : www.themoviedb.org/signup and sign up and after login , goto to settings -> API -> API Key (v3 auth)
      you can find your API Key 😊

  • @kakakaka9408
    @kakakaka9408 ปีที่แล้ว +1

    where do you generate the api key

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      www.themoviedb.org
      For getting API KEY , Please register and find your key under the Settings, API Section.

  • @MrAhmed-li7ip
    @MrAhmed-li7ip ปีที่แล้ว

    How to fetch specfic data from nested JSON using retrofit in Kotlin?

    • @AndroidGeekCo
      @AndroidGeekCo  ปีที่แล้ว

      Hi , there is several way , but basicly , you can create your custom data class with exact model that you want to have it in your app and also you can use Serialize for better managing the name betwen your model and the json side (in addition , it depends on your json , maybe you need to have even more than 3 data class inside one data class to handel it , it depend on your json and the data that you want to fetch! )

  • @kakakaka9408
    @kakakaka9408 ปีที่แล้ว

    hello nice video but there is an issue with the endpoint for movies its stating null

  • @mohamedelgohary683
    @mohamedelgohary683 2 ปีที่แล้ว +1

    Why didn't you use Fragment and navigiation

    • @AndroidGeekCo
      @AndroidGeekCo  2 ปีที่แล้ว +1

      Because the main focus was on retrofit and how we can work with that, for others tutorial, I will use a single activity with Fragment and navigation 👍

  • @shahzamanrai2617
    @shahzamanrai2617 ปีที่แล้ว +1

    Great!

  • @johnhabibpour8375
    @johnhabibpour8375 2 ปีที่แล้ว +1

    Hi Reyhane, Thanks for your awesome video,yes I am beginner in Android, I did all steps you did but my app just stops in mainActivity and shows white page without any error,
    Another thing that I didnt understand is about POSTER_BASEURL you didnt mention where is come from ? Thanks

    • @AndroidGeekCo
      @AndroidGeekCo  2 ปีที่แล้ว

      Hi , Thank you for your feedback 😊 and about your issue, in the Mainactivity , we put some response code Log; first please check this log, and then you can see which part of your code doesn't work, here : github.com/ezatpanah/Retrofit-TH-cam/blob/master/app/src/main/java/com/ezatpanah/retrofit_youtube/ui/MainActivity.kt you can check again my code and put your log like that

    • @AndroidGeekCo
      @AndroidGeekCo  2 ปีที่แล้ว

      and about POSTER_BASEURL , developers.themoviedb.org/3/getting-started/images -> here ,you can check documentation of this API 😊

    • @johnhabibpour8375
      @johnhabibpour8375 2 ปีที่แล้ว +1

      I really appreciate it for quick response, the error is (2022-09-01 13:01:51.984 21299-21299/com.john.tmdp E/onFailure: Err : 404) Client error response, may I ask you how can I fix it,
      Actually I downloaded yours and changed with my API key it's working very well, Thanks a lot

    • @AndroidGeekCo
      @AndroidGeekCo  2 ปีที่แล้ว

      404 or Not Found , maybe something wrong with your base url / also check : github.com/ezatpanah/Retrofit-TH-cam/blob/master/app/src/main/java/com/ezatpanah/retrofit_youtube/api/ApiServices.kt with your code , and also your response model class , let me know the result 😊

    • @johnhabibpour8375
      @johnhabibpour8375 2 ปีที่แล้ว

      I checked them with your code , there is no difference , I confused completely, sorry about bothering