Skip to content

Mobile dev

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

  • About
  • Contact
  • Android
    • Kotlin
  • Python
  • About
  • Contact
  • Android
    • Kotlin
  • Python

Month: February 2024

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
February 2024
M T W T F S S
 1234
567891011
12131415161718
19202122232425
26272829  
    Mar »
  • Android
  • Chưa được phân loại
  • Kotlin
  • Python
WordPress Theme: Treville by ThemeZee.