Working with WorkManager (Android Dev Summit '18)

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • This session talks about WorkManager and its API. This talk covers how WorkManager can be used to solve many interesting use cases. We also go over many of the new APIs introduced since alpha, including support for non-blocking Workers and how WorkManager can coexist in a world with coroutines and RxJava.
    Schedule tasks with WorkManager → bit.ly/2PkO6Du
    Easy Background Processing with WorkManager → bit.ly/2OuE11u
    Presented by: Rahul Ravikumar & Sumir Kataria
    Android Dev Summit '18 all sessions playlist → bit.ly/ADS18-Sessions
    Subscribe to the Android Channel! → bit.ly/AndroidDevs1
    #AndroidDevSummit event: Android Dev Summit 2018; re_ty: Publish; product: Android - Jetpack; fullname: Rahul Ravikumar, Sumir Kataria;
  • Věda a technologie

Komentáře • 21

  • @vuluongtrieu2609
    @vuluongtrieu2609 Před 5 lety +41

    1:29 What is WorkManager?
    2:45 API Walkthrough
    8:00 Threading in WorkManager
    10:37 Actual Threading in WorkManager
    11:18 Worker vs ListenableWorker
    11:45 Create ListenableWorker
    13:52 Operations
    15:15 Work Stoppages
    17:02 Clean up worker example
    19:15 Life of OneTime Work
    20:21 Life of Periodic Work
    21:20 Life of Chain of Work
    22:17 Unique Work
    24:40 WorkManager Configuration

  • @codinginflow
    @codinginflow Před 5 lety +17

    Really good speakers, especially the 2nd guy was very nice to listen to

    • @hagar-9-
      @hagar-9- Před 5 lety +8

      We need your tutorials on work manager

    • @mrobjectoriented
      @mrobjectoriented Před 5 lety

      @@hagar-9- Exactly! xD

    • @bjugdbjk
      @bjugdbjk Před 4 lety

      Waiting for ur videos on Work manager :)

  • @sanketpatil2154
    @sanketpatil2154 Před 5 lety

    Nice Explanation. Thank you.

  • @mkc0321
    @mkc0321 Před 3 lety

    Very well explained

  • @henryernest5436
    @henryernest5436 Před 4 měsíci

    Nice explanation.

  • @1testrad
    @1testrad Před 3 lety

    thanks ...

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před 5 lety +1

    My question is suppose I have set some constraints for WorkManager and i opened the app and all the constraints are met, will work manager run. Is there a possibility of work manager running when app is in the foreground or it runs only when app is in closed and constraints are met?

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před 5 lety

    I have never used any kind of Scheduler in my app. I am planning to include Work Manager soon. I know work manager is a best choice for local database syncing with server. So my question is can I use Retrofit in the doWork method, get the latest response from server and save it to local database.Is this a valid case?

  • @kalidsherefuddin
    @kalidsherefuddin Před 7 měsíci

    Thanks for

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před 5 lety +4

    Indians,yesssssssss

  • @hitec1691
    @hitec1691 Před 5 lety +1

    India :)

  • @BigCarso
    @BigCarso Před 5 lety

    EXecutor