Bir Service, UI olmadan işlemler gerçekleştirmek için bir Android bileşenidir — tipik olarak arka planda çalışan daha uzun süreli işler için. Farklı türler vardır (foreground, background, bound), her biri farklı ihtiyaçlara uygun olsa da, modern Android çoğu durumda WorkManager'ı tercih eder.
Service nedir
A SERVICE runs operations WITHOUT a UI (not tied to a screen):
→ for work that should continue regardless of UI (or independent of any activity)
→ declared in the manifest; runs in the app's process (main thread by default — must
move heavy work off it!)
