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

Поділитися
Вставка
  • Опубліковано 16 жов 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!

  • @TheTuxtrons
    @TheTuxtrons Рік тому

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

  • @legato0
    @legato0 Рік тому +3

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

  • @chloeylove
    @chloeylove 8 місяців тому

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

  • @joelposhapir3737
    @joelposhapir3737 Рік тому +3

    Thanks 👍: for such of an awesome video 💕

  • @ap-youtube
    @ap-youtube Рік тому +4

    You are the man!!!

  • @JamesShisiah
    @JamesShisiah 9 днів тому

    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😆

  • @morbix3683
    @morbix3683 3 місяці тому

    What a lifesaver you are

  • @snitkjaer
    @snitkjaer Місяць тому

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

  • @زيد_اليماني
    @زيد_اليماني 11 місяців тому

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

  • @abhijeetmule1521
    @abhijeetmule1521 Рік тому +3

    Great man very nice

  • @henrik908
    @henrik908 6 місяців тому

    Thanks man your videos are really helpful and professional.

  • @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.

  • @bipinbharti6540
    @bipinbharti6540 5 місяців тому +1

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

  • @BaBaKRaufi
    @BaBaKRaufi Рік тому +3

    Perfect

  • @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?

  • @RodrigoAbreuOliveira
    @RodrigoAbreuOliveira Рік тому +1

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

  • @jakisajordan
    @jakisajordan 8 місяців тому

    Super helpful 👏👏👏

  • @PSK005
    @PSK005 Рік тому

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

  • @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

  • @yarivzip
    @yarivzip 8 місяців тому

    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.

  • @anudeepananth
    @anudeepananth Рік тому

    Awesome explanation thank you...

  • @tch.777
    @tch.777 Рік тому

    Amazing video thank you very much 🙏

  • @rajamondal5084
    @rajamondal5084 Рік тому +6

    i like your voice

  • @flowzk921
    @flowzk921 Рік тому

    great one!

  • @skarloti
    @skarloti Рік тому

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

  • @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

  • @arthurlloyd3237
    @arthurlloyd3237 Рік тому

    such a good tutorial

  • @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.

  • @engineerfred9427
    @engineerfred9427 8 місяців тому

    Hey Stev.. thanks

  • @aliaksandrkreyer5908
    @aliaksandrkreyer5908 Рік тому

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

  • @ravshanbaxranov
    @ravshanbaxranov Рік тому +2

    Super

  • @raulastete3035
    @raulastete3035 Рік тому

    Which program do you use to make these awesome presentations?

  • @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.🙂

  • @nastenkaoo
    @nastenkaoo Рік тому

    perfect tutor

  • @bailandoconhumo9549
    @bailandoconhumo9549 10 місяців тому

    Woooooo!!! thaks!!!!!!

  • @kalidsherefuddin
    @kalidsherefuddin 10 місяців тому

    Thanks

  • @kinohometv1985
    @kinohometv1985 Рік тому +2

    😍😍😍😍😍

  • @dickyaryacode5279
    @dickyaryacode5279 Рік тому

    good tutorial :)

  • @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

  • @abada-s
    @abada-s Рік тому +3

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

  • @johngray2875
    @johngray2875 8 місяців тому

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

  • @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 🤍