Jetpack Compose เป็น ชุดเครื่องมือ UI แบบ declarative สมัยใหม่ของ Android สร้าง UI ด้วย composable Kotlin functions แทน XML layouts เป็นแนวทางที่ Google แนะนำสำหรับ UI ของ Android ใหม่ ๆ โดยให้วิธีการสร้างส่วนติดต่อที่ reactive กระชับ และมีประสิทธิภาพมากขึ้น
Compose คืออะไร
JETPACK COMPOSE = a declarative UI toolkit (Kotlin code, no XML):
→ describe the UI as COMPOSABLE FUNCTIONS (annotated @Composable)
→ DECLARATIVE + REACTIVE — describe UI for a given state; it updates when state changes
→ Google's RECOMMENDED modern approach (similar philosophy to Flutter, React, SwiftUI)
