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

Tag: Android

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
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.