Android Design Patterns and Best Practice

Create reliable, robust, and efficient Android apps with industry-standard design patterns

Android Design Patterns and Best Practice

Learning
Kyle Mew

1 customer reviews
Create reliable, robust, and efficient Android apps with industry-standard design patterns
$35.99
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Code Files
Free Sample

Book Details

ISBN 139781786467218
Paperback370 pages

Book Description

Are you an Android developer with some experience under your belt? Are you wondering how the experts create efficient and good-looking apps? Then your wait will end with this book! We will teach you about different Android development patterns that will enable you to write clean code and make your app stand out from the crowd.

The book starts by introducing the Android development environment and exploring the support libraries. You will gradually explore the different design and layout patterns and get to know the best practices of how to use them together. Then you’ll then develop an application that will help you grasp activities, services, and broadcasts and their roles in Android development.

Moving on, you will add user-detecting classes and APIs such as gesture detection, touch screen listeners, and sensors to your app. You will also learn to adapt your app to run on tablets and other devices and platforms, including Android Wear, auto, and TV. Finally, you will see how to connect your app to social media and explore deployment patterns as well as the best publishing and monetizing practices.

The book will start by introducing the Android development environment and exploring the support libraries. You will gradually explore the different Design and layout patterns and learn the best practices on how to use them together. You will then develop an application that will help you grasp Activities, Services and Broadcasts and their roles in Android development. Moving on, you will add user detecting classes and APIs such as at gesture detection, touch screen listeners and sensors to our app. You will also learn to adapt your app to run on tablets and other devices and platforms, including Android Wear, Auto, and TV. Finally, you will learn to connect your app to social media and explore deployment patterns and best publishing and monetizing practices.

Table of Contents

Chapter 1: Design Patterns
How this book works
What we will build
Targeting platform versions
The support library
The factory pattern
Running and testing an app
The abstract factory pattern
Summary
Chapter 2: Creational Patterns
Applying themes
Customizing color and text
Adding image resources
Creating a card view
Applying a builder pattern
Summary
Chapter 3: Material Patterns
The app-bar
The navigation drawer
The singleton pattern
Summary
Chapter 4: Layout Patterns
Linear layouts
Relative layouts
Screen rotation
Large screen layouts
The strategy pattern
Summary
Chapter 5: Structural Patterns
Generating lists
List item layouts
Connecting data
Translating string resources
The adapter pattern
The bridge pattern
The facade pattern
The criteria pattern
Summary
Chapter 6: Activating Patterns
Collapsing toolbars
Applying a data factory pattern
Positioning item layouts
Using the factory with the RecyclerView
Adding dividers
Configuring the floating action button
The dialog builder
Adding swipe and dismiss actions
Constructing layout builders
Summary
Chapter 7: Combining Patterns
Outlining specifications
The prototype pattern
The decorator design pattern
A sandwich builder pattern
Selecting patterns
Adding a decorator
Summary
Chapter 8: Composing Patterns
The composite pattern
A Layout composer
Storage options
Storing user preferences
Summary
Chapter 9: Observing Patterns
The Observer pattern
Notifications
Services
Summary
Chapter 10: Behavioral Patterns
The template pattern
The visitor pattern
The state pattern
Summary
Chapter 11: Wearable Patterns
Android TV
Android Wear
Android Auto
Summary
Chapter 12: Social Patterns
Adding web pages
Connecting with Facebook
Content builders
Integrating Twitter
Summary
Chapter 13: Distribution Patterns
Extending platform scope
Publishing apps
Promoting and monetizing apps
Summary

What You Will Learn

  • Build a simple app and run it on real and emulated devices
  • Explore the WYSIWYG and XML approaches to material design provided within Android Studio
  • Detect user activities by using touch screen listeners, gesture detection, and reading sensors
  • Apply transitions and shared elements to employ elegant animations and efficiently use the minimal screen space of mobile devices
  • Develop apps that automatically apply the best layouts for different devices by using designated directories
  • Socialize in the digital word by connecting your app to social media
  • Make your apps available to the largest possible audience with the AppCompat support library

Authors

Table of Contents

Chapter 1: Design Patterns
How this book works
What we will build
Targeting platform versions
The support library
The factory pattern
Running and testing an app
The abstract factory pattern
Summary
Chapter 2: Creational Patterns
Applying themes
Customizing color and text
Adding image resources
Creating a card view
Applying a builder pattern
Summary
Chapter 3: Material Patterns
The app-bar
The navigation drawer
The singleton pattern
Summary
Chapter 4: Layout Patterns
Linear layouts
Relative layouts
Screen rotation
Large screen layouts
The strategy pattern
Summary
Chapter 5: Structural Patterns
Generating lists
List item layouts
Connecting data
Translating string resources
The adapter pattern
The bridge pattern
The facade pattern
The criteria pattern
Summary
Chapter 6: Activating Patterns
Collapsing toolbars
Applying a data factory pattern
Positioning item layouts
Using the factory with the RecyclerView
Adding dividers
Configuring the floating action button
The dialog builder
Adding swipe and dismiss actions
Constructing layout builders
Summary
Chapter 7: Combining Patterns
Outlining specifications
The prototype pattern
The decorator design pattern
A sandwich builder pattern
Selecting patterns
Adding a decorator
Summary
Chapter 8: Composing Patterns
The composite pattern
A Layout composer
Storage options
Storing user preferences
Summary
Chapter 9: Observing Patterns
The Observer pattern
Notifications
Services
Summary
Chapter 10: Behavioral Patterns
The template pattern
The visitor pattern
The state pattern
Summary
Chapter 11: Wearable Patterns
Android TV
Android Wear
Android Auto
Summary
Chapter 12: Social Patterns
Adding web pages
Connecting with Facebook
Content builders
Integrating Twitter
Summary
Chapter 13: Distribution Patterns
Extending platform scope
Publishing apps
Promoting and monetizing apps
Summary

Book Details

ISBN 139781786467218
Paperback370 pages
Read More
From 1 reviews

Read More Reviews