Optimizing Android performance involves keeping the UI thread responsive, efficient memory use (avoiding leaks), smooth rendering, efficient lists, and profiling to find bottlenecks. Performance directly affects user experience and matters across the diverse range of Android devices.
Keep the UI (main) thread responsive
✓ NEVER block the main thread → do network/DB/heavy work OFF it (coroutines + Dispatchers.IO)
→ blocking causes jank or ANR ("App Not Responding") — a top issue
✓ Keep work in onCreate / onBind / on the main thread minimal and fast
