Book Image

Hands-On Android Application Components: Services and Fragments [Video]

By : Mona Vafa
Book Image

Hands-On Android Application Components: Services and Fragments [Video]

By: Mona Vafa

Overview of this book

<p>It's always been a big pain for developers to understand the implementation of background threads and processes and master building flexible UI's and how to effectively use services in their applications. Not all Android developers have any experience of fragments, but this course will help you master fragments and services from scratch!<br />In this course, you will start by getting familiar with the fundamental concepts of fragments and adding fragments to an activity, fragment transactions, their lifecycle, and how they communicate with activities. You'll also explore fragment stability during screen rotation, and screen sizes. Then you will learn about services, another application component that will continue to run in the background even if the user switches to another application. Here you will get hands-on with the various kinds of services, threads, and processes, and their life cycle; then you'll move on to inter-process communication. Lastly, you will implement everything you've learned and build a TODO application; you'll learn to pass and manage arguments and master the communication flow between services and fragments in multiple ways. By the end of this course, you'll have a very strong foundation in Android fragments and Android services.</p> <p>The code bundle for this course is available at&nbsp;<a href="https://github.com/PacktPublishing/Hands-on-Android-Application-Components-Services-and-Fragments" target="_blank">https://github.com/PacktPublishing/Hands-on-Android-Application-Components-Services-and-Fragments</a></p> <h1>Style and Approach</h1> <p>This course takes a step-by-step approach with helpful advice, working examples, and sample projects; you will start as a beginner, but you will master fragment and services in this course. You'll advance your career and work on more cutting-edge projects.</p>
Table of Contents (7 chapters)
Chapter 1
Creating Your Fragment Class and Inflating Your Layouts
Content Locked
Section 2
Configure Android Studio and Create Your Project
The aim of this video is to explore the best practices of setting up your project. - Start your Kotlin project - Find out about the importance of your package name - Learn to decide the best API number according to your projects