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

Category: Android

Các bài viết hướng dẫn từ (cực kỳ) cơ bản đến (cực kỳ) nâng cao về lập trình Android. Chúng có thể giúp bạn từ 1 người mới làm quen với lập trình trở thành 1 lập trình viên có thể tham gia các dự án thực tế. Các bài viết vẫn đang được cập nhật đều đặn theo thời gian. Hãy theo dõi nhé

Understanding Flow Operators in Kotlin: A Simple Guide

25/02/2025 Dương Vũ Leave a comment
coroutine-flow

Kotlin’s Flow is a powerful tool for handling asynchronous data streams. It helps manage sequences of values that are emitted over time. To fully utilize Flow, you need to understand its operators. What is Flow? Before learning about Flow operators, let’s first understand Flow itself. Flow is part of Kotlin’s

Continue reading

Use Kotlin coroutines with lifecycle-aware components

23/02/2025 Dương Vũ Leave a comment
CoroutinesLifecycleLiveData

Kotlin coroutines let you write asynchronous code more easily. You can use a CoroutineScope to control when your coroutines start and stop. Each asynchronous task runs within a specific scope. Lifecycle-aware components support coroutines and work well with LiveData. This guide explains how to use coroutines with these components effectively.

Continue reading

Exception handling in Coroutine

02/03/2024 Dương Vũ Leave a comment
coroutine-exception-handling

Let’s talk about handling errors in coroutines. This is key to building reliable apps. We’ll cover the basics and show you how to deal with problems effectively. Concept of a “Job” in Kotlin Coroutines When you start a coroutine with launch or async, you get a Job object. A Job

Continue reading

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
September 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
« Feb    
  • Android
  • Chưa được phân loại
  • Kotlin
  • Python
WordPress Theme: Treville by ThemeZee.