Android Design Patterns and Best Practices – Volume 2
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
10 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Android Design Patterns and Best Practices – Volume 2 to your Wishlist.

Add to Wishlist

Android Design Patterns and Best Practices – Volume 2

Create reliable, robust, and efficient Android apps with industry-standard design patterns
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
10 students enrolled
Created by Packt Publishing
Last updated 5/2017
Curiosity Sale
Current price: $10 Original price: $125 Discount: 92% off
30-Day Money-Back Guarantee
  • 1.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Apply transitions and shared elements to use minimal screen space
  • Store and retrieve persistent data
  • Demonstrate the workings of Android wear
  • 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
  • Maximize potential app users
View Curriculum
  • This course is targeted at basic Android developers with basic android development experience. To work along with this course, you will need Android studio version 2.2.3.

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 video! 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 video 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. 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.

About The Author

Kyle Mew has been programming since the early eighties and has written for several technology websites. He has also written three radio plays and three other books on Android development.

Who is the target audience?
  • This video is intended for Android developers who have some basic android development experience. Basic Java programming knowledge is a must to get the most out of this video.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
21 Lectures
Combining Patterns
5 Lectures 18:19

This video gives us an overview of the entire course. 

Preview 01:57

The prototype makes copies from an original, vastly reducing the number of sub-classes required and any lengthy creation processes.

The Prototype Pattern

The decorator allows us to add functionality and properties to an object during runtime without having to make any changes to the original class structure.

The Decorator Design Pattern

The builder Pattern is purpose-built for combining simple objects to form one complex object, and this forms a perfect analogy of making a sandwich.       

A Sandwich Builder Pattern

One of the best ways to add further functionality is with decorator Patterns. 

Selecting Patterns and Adding Decorators
Composing Patterns
4 Lectures 18:46

Composite Pattern works in such a way that the client can add individual objects or groups of objects without having to concern itself with which it is dealing with.

Preview 03:22

This video teaches us to employ a Pattern that does not care what type of component it is dealing with.

A Layout Composer

If you have a lot of data and access to a web server, it is often best to cache data from this source, as this will both save battery and speed up the application.

Storage Options

In this video, we will get on with storing user preferences using the built-in SharedPreferences interface.

Storing User Preferences
Observing Patterns
3 Lectures 13:53

The observer acts like a sentry, keeping watch for a particular event or a state change in its subject or subjects, and then reporting this information to interested parties.

Preview 04:56

Notifications should only contain pertinent and time-related information. The rule of thumb is only issue a notification if the information cannot wait until the next time the user logs in.


Services do not require a UI, but in other respects, they are similar to activities and have a similar life cycle with associated callback methods that we can use to intercept key events.

Behavioral Patterns
3 Lectures 09:24

The template Pattern is nothing more than a generalization in the form of an abstract class with at least one concrete realization.

Preview 03:52

The visitor Pattern is designed so that a client can apply a process to a collection of unrelated objects, without having to worry about their differences.

The Visitor Pattern

Very sophisticated algorithms can be realized with properly configured finite state machines.

The State Pattern
Wearable Patterns
3 Lectures 14:55

There is still a large area of overlap, particularly concerning games, where many apps can be easily converted to work on TV. 

Preview 05:13

All Android Wear applications act as a companion app and work in conjunction with a main module that runs on the user's handset.

Android Wear

Android Auto can run many apps designed originally for mobile devices.

Android Auto
Social Patterns
3 Lectures 13:47

Including a single web page in an activity or fragment using the WebView class is almost as simple as adding any other kind of view.

Preview 04:48

Not only is Facebook one of the largest social networks, it is also very nicely set up to assist those wishing to promote their products. The ways that this can work varies from providing automatic logins, customizable advertising, and the ability for users to share products they like with others.

Connecting with Facebook

Having a large number of likes is a great way to drive traffic your way, but there is an economy of scale at work here that favors apps with very large numbers of downloads.

Content Builders
About the Instructor
Packt Publishing
3.9 Average rating
7,349 Reviews
52,598 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.