Jetpack Compose ਐਂਡਰਾਇਡ ਦਾ ਆਧੁਨਿਕ declarative UI toolkit ਹੈ — XML layouts ਦੀ ਬਜਾਏ composable Kotlin functions ਨਾਲ UIs ਬਣਾਉਂਦਾ ਹੈ। ਇਹ Google ਦਾ ਨਵੀਆਂ ਐਂਡਰਾਇਡ UIs ਲਈ ਸਿਫਾਰਿਸ਼ ਕੀਤਾ ਪਹੁੰਚ ਹੈ, ਜੋ ਇੰਟਰਫੇਸ ਬਣਾਉਣ ਦਾ ਇੱਕ reactive, ਸੰਖੇਪ, ਅਤੇ ਵਧੇਰੇ productive ਤਰੀਕਾ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ।
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)
