Bound Services on Android

Bound Services on Android

CodingWithMitch

54 года назад

62,839 Просмотров

With respect to Services on Android, you have two categories:

1) Started Services
2) and Bound Services

This video is focused on bound services.

I think the best way to think of a bound service is to compare it with a server. When you start a service with the intention to bind something to it, you essentially have the intention to start a server, and bind to it with some kind of client. At it's core, you're defining a client-server interaction. The service acts as the server, and an activity acts as the client.

Note that this demo is done using the architectural design pattern known as "Model View View-Model" (MVVM).

➤Blog post on Bound Services:
https://codingwithmitch.com/blog/bound-services-on-android/

➤Learn to Code Like me:
https://codingwithmitch.com/register/

➤My Instagram:
https://www.instagram.com/mitch.tabian/

➤Source Code:
https://github.com/mitchtabian/Bound-Services-with-MVVM

Тэги:

#android_tutorial #android_services #android_bound_services #bound_services_android #bound_service_example_android #android_bound_service_example #how_to_setup_a_bound_service_android #what_is_a_bound_service_android #services_and_mvvm #mvvm_android #model_view_view-model_android #how_to_use_services_on_android #android_services_example #android_services_explained #bind_service_to_activity #bind_service_to_android_example
Ссылки и html тэги не поддерживаются


Комментарии: