Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raheemadamboev authored Mar 13, 2022
1 parent 36f00d1 commit 02fbfe5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# jetpack-workmanager

<img align="right" width="296" height="500" src="https://github.com/raheemadamboev/jetpack-workmanager/blob/master/banner.gif" />

Simple application that downloads Eminem image from internet and applies green color filter as well as displaying it in the screen. Image is stored in the Imgur server. Image is downloaded with the help of Retrofit and it is executed in the background using Kotlin Coroutines in IO dispatcher. Also downloading image is not dependent on always opening the app because WorkManager is used to execute that work. Two worker is chained uniquely and second one (worker that applies color filter to downloaded image) waits for first one to finish as it needs to get data from first worker. It only executes the work if device is connected to internet connection. UI is built by Jetpack Compose and MVVM architectural pattern is applied. Color filter is applied using Canvas API. Dependencies are injected using Dagger Hilt. Also dependecies are injected to Worker using Hilt. Images are displayed to image composable using Coil.

**Jetpack WorkManager**

<img src="" />

<a href="https://github.com/raheemadamboev/jetpack-workmanager/blob/master/app-debug.apk">Download demo</a>

**Tech stack:**
Expand Down

0 comments on commit 02fbfe5

Please sign in to comment.