# Jetpack WorkManager: Getting Started | raywenderlich.com

**URL:** <https://forums.kodeco.com/t/jetpack-workmanager-getting-started-raywenderlich-com/54830>\
**Category:** 🎓 Courses & Articles\
**Created:** [November 7, 2018, 9:10am UTC](https://forums.kodeco.com/t/jetpack-workmanager-getting-started-raywenderlich-com/54830 "2018-11-07T09:10:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![macsimus](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macsimus/32/109104_2.png) [@macsimus](https://forums.kodeco.com/u/macsimus)\
**Post date:** [November 7, 2018, 9:10am UTC](https://forums.kodeco.com/t/jetpack-workmanager-getting-started-raywenderlich-com/54830/1 "2018-11-07T09:10:14Z")

</div>

* * *
This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/9161-jetpack-workmanager-getting-started](https://www.raywenderlich.com/9161-jetpack-workmanager-getting-started)

---

<div class="post-metadata">

**Author:** ![sagarsuri](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/sagarsuri/32/91485_2.png) [@sagarsuri](https://forums.kodeco.com/u/sagarsuri)\
**Post date:** [November 9, 2018, 6:52pm UTC](https://forums.kodeco.com/t/jetpack-workmanager-getting-started-raywenderlich-com/54830/2 "2018-11-09T18:52:00Z")

</div>

This is so amazing. A really great screencast. More of a real world case. I am so happy to see such content from you guys. Keep up the good work. Thanks

---

<div class="post-metadata">

**Author:** ![sagarsuri](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/sagarsuri/32/91485_2.png) [@sagarsuri](https://forums.kodeco.com/u/sagarsuri)\
**Post date:** [November 10, 2018, 2:18pm UTC](https://forums.kodeco.com/t/jetpack-workmanager-getting-started-raywenderlich-com/54830/3 "2018-11-10T14:18:09Z")

</div>

How to run an async code inside doWork()? I mean if I am doing a login network call(using retrofit) inside the doWork() method and I want to pass the result from the network call back to the Activity till that time I want to show a ProgressBar. Once I get the result I will navigate user to next screen. How can I achieve this?

---

<div class="post-metadata">

**Author:** ![macsimus](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macsimus/32/109104_2.png) [@macsimus](https://forums.kodeco.com/u/macsimus)\
**Post date:** [November 10, 2018, 3:01pm UTC](https://forums.kodeco.com/t/jetpack-workmanager-getting-started-raywenderlich-com/54830/4 "2018-11-10T15:01:14Z")

</div>

Hi @sagarsuri, thanks for the question!

We have a second WorkManager screencast coming out in the next week or so that shows you how to observe `WorkStatus` using `LiveData`. In the screencast, we use that to show a ProgressBar while the zip file is uploading. The second screencast also talks about unique work, canceling work, and work constraints. Look for that screencast next week.

Having said that, be sure to think about your login use case and remember that WorkManager is used for **guaranteed** but **deferrable** work, like the file upload in our screencast. Many network requests you would make with Retrofit are not considered deferrable, so a different async approach such as RxJava may be better.

Thanks again!
