📄️ Custom View từ MeasureSpec đến accessibility
Bài này trả lời câu hỏi “tạo custom View thế nào?” bằng một thanh progress đơn giản. Mục tiêu không chỉ là vẽ được trên một thiết bị, mà còn đúng khi parent đổi constraints, kích thước thay đổi và người dùng sử dụng công cụ hỗ trợ tiếp cận.
📄️ Jetpack Compose
Compose mô tả UI từ state. State hoisting chuyển quyền sở hữu state tới nơi cần phối hợp; composable con nhận giá trị và callback. Trên Android, collect Flow UI bằng collectAsStateWithLifecycle().
📄️ Jetpack Navigation Component
The Jetpack Navigation Component simplifies navigating between destinations in an Android app, whether they are Fragments, Activities, or Composables. It handles back stack management, deep linking, and argument passing safely.
📄️ XML Views
The legacy, imperative way of building UIs in Android relies on XML layouts and View classes (e.g., TextView, RecyclerView, ConstraintLayout).