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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.