A Service shine nau'i na Android component don aiwatar da aiki ba tare da UI ba — yawanci aiki mai tsanani a baje jiya. Akwai nau'ukan daban-daban (foreground, background, bound), kowane yana dace da bukatun daban-daban, kodayake Android na zamani yana fifita WorkManager don yawancin lokuta.
Abin da Service yake
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!)
