Service lifecycle

We covered and explained all important methods that are executed during the lifetime of an Android service. Service has its own lifecycle as all other Android components. Everything we mentioned so far is represented in the following screenshot:

Now, as we have a basic understanding of the Android services, we will create our own service and extend the Journaler application. This service will be repeatedly extended later in other chapters with more code. So, pay attention to every line as it can be crucial.

Get Mastering Android Development with Kotlin now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.