Easy Guide to a WorkManager | Injecting a Worker with a Dagger-Hilt

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 58

  • @MatheusFaleiro
    @MatheusFaleiro Год назад +4

    Wow, this tutorial is a lifesaver! The way you explained the process of injecting a Worker with Dagger-Hilt was clear and concise. Thanks to you, I was able to successfully integrate these powerful tools into my app. Keep up the fantastic work and please continue creating more informative videos like this!

  • @chloeylove
    @chloeylove 8 месяцев назад

    Great video! I've been struggling initializing Worker with Hilt. This is the only approaches that worked! Thank you!!

  • @JamesShisiah
    @JamesShisiah 12 дней назад

    Great explanation. Thank you.

  • @EmanMuneeb-c3x
    @EmanMuneeb-c3x Месяц назад

    Thank you!!!! Damn i have been stuck on it for 2 days and finally your tutorial helped me solve the issue😆

  • @legato0
    @legato0 Год назад +3

    I like your youtube channel, I always learn something interesting. Good job! 👍

  • @TheTuxtrons
    @TheTuxtrons Год назад

    I Started implemeting a feature that requires work manager and here is this tutorial that was just uploaded, You save my day.

  • @morbix3683
    @morbix3683 3 месяца назад

    What a lifesaver you are

  • @joelposhapir3737
    @joelposhapir3737 Год назад +3

    Thanks 👍: for such of an awesome video 💕

  • @snitkjaer
    @snitkjaer Месяц назад

    Thanks a lot! Hilt and workers where driving me nuts 🙂

  • @ap-youtube
    @ap-youtube Год назад +4

    You are the man!!!

  • @abhijeetmule1521
    @abhijeetmule1521 Год назад +3

    Great man very nice

  • @زيد_اليماني
    @زيد_اليماني 11 месяцев назад

    I love your educational videos, the explanation is clear and covers all the questions

  • @henrik908
    @henrik908 6 месяцев назад

    Thanks man your videos are really helpful and professional.

  • @RodrigoAbreuOliveira
    @RodrigoAbreuOliveira Год назад +1

    Great guide, congratulations. A simple question, can I work with WorkManager inside the ViewModel class?

  • @jakisajordan
    @jakisajordan 8 месяцев назад

    Super helpful 👏👏👏

  • @bipinbharti6540
    @bipinbharti6540 5 месяцев назад +1

    Awsome Video. Just awssome sir. There is any github link for this video?

  • @BaBaKRaufi
    @BaBaKRaufi Год назад +3

    Perfect

  • @anudeepananth
    @anudeepananth Год назад

    Awesome explanation thank you...

  • @tch.777
    @tch.777 Год назад

    Amazing video thank you very much 🙏

  • @damg77
    @damg77 4 месяца назад

    Thank you very much for your video. Great! I have a question.
    ¿Can a workmanager be executed in the onDestroy event of an activity to insert data into a firestore database?

  • @PSK005
    @PSK005 Год назад

    What a coincidence 😮. Yesterday i searched worker manager di. Today uploaded 😅

  • @flowzk921
    @flowzk921 Год назад

    great one!

  • @kalidsherefuddin
    @kalidsherefuddin 10 месяцев назад

    Thanks

  • @nastenkaoo
    @nastenkaoo Год назад

    perfect tutor

  • @arthurlloyd3237
    @arthurlloyd3237 Год назад

    such a good tutorial

  • @engineerfred9427
    @engineerfred9427 8 месяцев назад

    Hey Stev.. thanks

  • @yarivzip
    @yarivzip 9 месяцев назад

    Hi, great video. I followed your instructions and learned a lot. One thing that doesn't work for me. When I close the app I don't see the worker hello log.

  • @skarloti
    @skarloti Год назад

    The presentation is great! Why didn't you choose? KTOR? 6:11

  • @aliaksandrkreyer5908
    @aliaksandrkreyer5908 Год назад

    Ваще))) недавно искал, огонь 🔥🔥 💚💚

  • @dickyaryacode5279
    @dickyaryacode5279 Год назад

    good tutorial :)

  • @raulastete3035
    @raulastete3035 Год назад

    Which program do you use to make these awesome presentations?

  • @Lucasgustavom
    @Lucasgustavom Год назад +1

    Thank you for the video!
    A question: why create a custom worker factory and don't use HiltWorkerFactory?

    • @johngray2875
      @johngray2875 8 месяцев назад

      It wasn't necessary, but the config is a little tricky. Also didn't need @Assist on new parameter. Just the context and workerParams

  • @rajamondal5084
    @rajamondal5084 Год назад +6

    i like your voice

  • @planet3a
    @planet3a Год назад +3

    Why did u mark the api as @assisted whiles we have that in the network module.?

    • @StevdzaSan
      @StevdzaSan  Год назад +1

      That's correct, we don't need the @Assisted annotation on the api that we've specified, I've checked it now, and it works without. Thank for the question.

  • @bailandoconhumo9549
    @bailandoconhumo9549 10 месяцев назад

    Woooooo!!! thaks!!!!!!

  • @tayrall
    @tayrall Год назад +1

    Hey stvezda-san, but what about using property injection (lateinit war) directly inside workmanager? Аnd i also want to see how be able to catch previously enqueued worker. And also how to pass progress notification from worker to activity

    • @johngray2875
      @johngray2875 8 месяцев назад

      I don't believe you can do property injection in the workers.

  • @abada-s
    @abada-s Год назад +3

    you should catch(e: UnknownHostException){
    }
    then
    catch (e:Exception){}

  • @ahmadab9666
    @ahmadab9666 11 месяцев назад

    in cleac architecture what layer must i put this workManager class, must i put the class in DataSource then i call it from repository ? i very confusing about that

  • @ravshanbaxranov
    @ravshanbaxranov Год назад +2

    Super

  • @johngray2875
    @johngray2875 8 месяцев назад

    The custom factory wasn't necessary if you get your dependencies just right.

  • @kinohometv1985
    @kinohometv1985 Год назад +2

    😍😍😍😍😍

  • @code_yad
    @code_yad Год назад

    Hi, I really want to learn Jetpack Compose, but I didn't see anywhere how to authenticate with a token, that's why I don't work much, if you can explain how to authenticate using Retrofit and save the token.🙂

  • @FarooqAhmad-lr1fx
    @FarooqAhmad-lr1fx Год назад

    Please check this video, it has some error because it plays in a very low resolution with me. And also not shown any quality options in the settings

  • @aiyuayaan
    @aiyuayaan Год назад

    How i can initiate multiple work manger ?

    • @StevdzaSan
      @StevdzaSan  Год назад

      You can chain multiple work requests. I'll cover that as well in some of the next videos.

  • @orerick2871
    @orerick2871 Год назад

    any updates on you next video?

  • @Adam0001
    @Adam0001 Год назад +1

    🔥🔥
    Keep great work up please 🤍