Narala Virupaksha Reddyvirunarala.hashnode.dev·Apr 24, 2024Coroutines for BeginnersThe goal of this article is to help a beginner understand Coroutines, their benefits and how to use them in day-to-day android development. It does not aim to provide textbook correct definitions or cover everything about Coroutines. Introduction His...Discuss·44 readscoroutines
João Esperancinhajesperancinha.hashnode.dev·Apr 17, 2024They said to use the Default Dispatchers but I found out it was UnconfinedIf I would have to point out one of the most confusing Dispatchers in the world of Kotlin coroutines, that would be the Unconfined dispatchers. Called with Dispatchers.Unconfined when creating a coroutine scope, this a kind of dispatcher that doesn’t...DiscussDispatchers coroutines
Isabel Garrido Cardenasisabeliita90.hashnode.dev·Mar 13, 2024Upload a file to S3 - Unit testTesting is one of the things I've dedicated more time to in my professional life. Even though it's an essential part of our daily job, I still find test suites that do not ensure the correct behavior of a feature. That is why I wanted a separate post...Discuss·85 readsAWS Kotlin SDK examplesTesting
Khush Panchalkhushpanchal.hashnode.dev·Feb 20, 2024PriorityDispatcher — Priority based Dispatcher in Kotlin CoroutinesIntroduction In the world of asynchronous programming, managing tasks efficiently is important. However, not all tasks are created equal, and some may require immediate attention over others. I designed a small utility Kotlin library, PriorityDispatc...Discuss·31 readsKotlin
Peter Gichiapetergichia.hashnode.dev·Feb 15, 2024Coroutines Exceptions Handling: A Guide to SupervisorScope, SupervisorJob, and CoroutineExceptionHandler.If you are a seasoned Android developer with Kotlin then you have worked and will continue to use Coroutines for asynchronous and multithreading operations since they are lightweight, easy to use, and, most importantly, constantly under maintenance t...Discusscoroutines
Emran Khandaker Evanblog.evanemran.info·Feb 7, 2024Kotlin Suspend Functions, Coroutine Builders and DispatchersIn Kotlin, "suspend" functions are a key part of the language's support for asynchronous programming, especially in conjunction with coroutines. A "suspend" function is a function that can be paused and resumed at a later time without blocking the ex...Discuss·2 likes·59 readsKotlinAndroid
DevNationdevnation.joshisfitness.com·Dec 13, 2023Server side Kotlin-04Introduction:- In the last post of this series, I discussed the Kotlin Collection API. In this post, I wil share how the Map APIs work.MapThe mapping transformation creates a new collection from another collection. lambda function is applied to e...Discuss·36 readsKotlin
Romman Sabbirrommansabbir.com·Dec 7, 2023Understanding Kotlin Coroutine DispatchersIntroduction In this article, we will delve into the realm of Dispatchers in Kotlin Coroutines, exploring their significance in Android development and their role in efficiently managing threads for coroutine execution. As an essential topic for Andr...Discuss·1 like·481 readsKotlinAndroid
Tushar Pingaletusharpingale.hashnode.dev·Nov 21, 2023Leveraging fold operator in Kotlin flow to optimize Room DB upsertsHey everyone, today we will look into an interesting topic to optimize room DB upserts using fold in Kotlin flow. The case? We are working on a chat application where we fetch a list of chats in pages from the network and upsert it into DB as it is a...Discuss·8 likes·326 readsKotlin
Shreyas Patilblog.shreyaspatil.dev·Oct 23, 2023Collecting items from the Flow in chunks💦Hey Kotliners 👋🏻, Kotlin coroutines are now widely used and many of its APIs are helping developers to simplify things a lot. Flow is one of the popular APIs that developers choose for reactive programming and is quite easy to use as well. In this ...Discuss·15 likes·2.2K readsAll about KotlinKotlin