Service je Android komponenta za izvršavanje operacija bez korisničkog sučelja — obično duže trajuće rad u pozadini. Postoje različiti tipovi (foreground, background, bound), svaki prikladan za različite potrebe, iako moderni Android favorizira WorkManager za mnoge slučajeve.
Što je Service
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!)
