Skip to content

Mobile dev

Let's share knowledge together, develop together, move forward together

  • About
  • Our Stores
  • Blog
  • Contact
  • FAQ

Tag: Kotlin

Deep Dive into Dispatchers for Kotlin Coroutines

22/02/2024 Dương Vũ Leave a comment
coroutine-dispatchers

Coroutines make asynchronous programming easier to read and manage in Kotlin. A key part of using coroutines effectively is understanding Coroutine Dispatchers, which decide which thread a coroutine runs on. What is a Coroutine Dispatcher? A Coroutine Dispatcher assigns coroutines to specific threads for execution. The choice of dispatcher affects

Continue reading

Basic knowledge about Coroutine Scope and Dispatchers

19/02/2024 Dương Vũ Leave a comment
coroutine-scope-and-dispatchers

Hello, this is the 2nd article in the Kotlin Coroutine tutorial series. In this article we will learn about Coroutine Scope What is Coroutine Scope? As we know in the previous article, to start a coroutine we need to use the launch or async function. These are essentially extension functions

Continue reading

Basic concepts about Kotlin Coroutine – Coroutine and Suspend functions

17/02/2024 Dương Vũ Leave a comment
coroutine-suspend-function

What are suspend functions In Kotlin, a suspend function is a special function used for asynchronous programming. It can pause and resume later without blocking the thread, making coroutines efficient for handling long-running tasks. Key Features: Non-blocking Pauses: A suspend function can pause without stopping the entire thread, allowing other

Continue reading

About

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt.

Tag Cloud

Android Coroutine Kotlin

Categories

  • Android (6)
  • Kotlin (6)
WordPress Theme: Treville by ThemeZee.