Search Results for: WorkManager

Chaining Worker With Android WorkManager
| | | | |

Chaining Worker With Android WorkManager

Chaining the Worker is the most attractive features of WorkManager. With the work manager, we can easily chain multiple workers together and the run workers in a particular order. I’ve written some pretty good articles on WorkManager before. In these articles, I briefly explain how to use the work manager, setting input and output data,…

InputMerger and ArrayCreatingInputMerger with WorkManager
| | | | | | |

InputMerger and ArrayCreatingInputMerger with WorkManager

In the last article, we discussed how we can set input and output data with WorkManager API. (If you haven’t read the previous article I highly recommended you to read before proceeding.)  In this article, we’re going to learn how we can convert multiple output results into one input using InputMerger. I also wrote a pretty…

Setting Input Data And Output Data With WorkManager
| | | | | |

Setting Input Data And Output Data With WorkManager

When working with WorkManager you may need to pass the argument for your task and also need some result to return. To pass the arguments to a task you need to setInputData to when creating the WorkRequest object.  The input data method takes a Data object. Note: By the way, I wrote a pretty good…

Android WorkManager Example
| | | |

Android WorkManager Example

Hi, guys today I’m gonna talked to you about a new library Google released is WorkManager. WorkManager is a part of AndroidJetpack and an Architecture Component for a background work. WorkManager chooses an appropriate way to schedule a background task depending on the device API level and including dependencies. It might use JobScheduler, Firebase JobDispatcher, or AlarmManager. …

Why Developer Needs To More Concern For Background Process When Targeting Android P
| | | |

Why Developer Needs To More Concern For Background Process When Targeting Android P

We all want good power efficiency right..? Like batteries that last a long time. We want to build really cool apps and we do not want the user to manage between these things. Like do I want to build cool apps, or do I want power efficiency. It’s terrifically difficult to make that choice. So,…

Android ktx with Example Part 3 – Android ktx – Core ktx
| | | | | |

Android ktx with Example Part 3 – Android ktx – Core ktx

This is the third and last part of Android ktx tutorial. In this part, we’re gonna explore the core ktx library extension functions. The core ktx have so much cool extension function which makes the Android coding much concise, simple and idiomatic. The core ktx currently cover some of the most used classes in Android…

Android ktx with Example Part 2- ViewModel Lifecycle ktx-Work Runtime ktx
| | | | | | |

Android ktx with Example Part 2- ViewModel Lifecycle ktx-Work Runtime ktx

This is the second part of android ktx tutorial. I hope you guy has seen my previous blog in which I briefly explain about fragment ktx, palette ktx, SQLite ktx and collection ktx extension functions. So in this blog, I’m gonna explain how we can use the extension function exists in ViewModel ktx and work-runtime…

Android ktx with example – Fragment | Palette | Collection | SQLite
| | | | | | | | |

Android ktx with example – Fragment | Palette | Collection | SQLite

If you’re developing an Android application with Kotlin, then I have good news for you. Recently Google released an Android ktx library, which is a set of Kotlin Extension function. Android ktx is a part of Jetpack family. The purpose of Android ktx is to write less code and more concise. Android ktx brings us…

Android Download Manager Example
| | |

Android Download Manager Example

Hey guy’s, today we’re going to learn how can we download a file, mp3, ppt or image from the internet with DownloadManager. Downloading a file from the internet is a basic need of the app right. So, with DownloadManager it’s very easy. DownloadManager is an android system service that handles long-running HTTP downloads. Apps request for downloads…