Why do we need service in Android?

A service is simply an android component which allows us to do resource intensive operation off the main thread . Basically an android app has two threads: Main thread and Worker Thread. If any networking operation is performed on main thread, it starts skipping frames and eventually crashes.

Sizin İçin Seçtik  Kara para nedir örnek?

Leave a Reply

Your email address will not be published. Required fields are marked *

Why do we need service in Android?

A service is simply an android component which allows us to do resource intensive operation off the main thread . Basically an android app has two threads: Main thread and Worker Thread. If any networking operation is performed on main thread, it starts skipping frames and eventually crashes.

Sizin İçin Seçtik  Demir token nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *