Service yra Android komponentas operacijoms atlikti be vartotojo sąsajos — paprastai ilgiau trunkančioms operacijoms fone. Yra skirtingos rūšys (foreground, background, bound), kiekviena tinkama skirtingiems poreikiams, nors šiuolaikinis Android labiau rekomenduoja WorkManager daugeliui atvejų.
Kas yra 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!)
