Android Design Patterns and Best Practices - Volume 1
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.
22 students enrolled
Wishlisted Wishlist

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

Add to Wishlist

Android Design Patterns and Best Practices - Volume 1

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.
22 students enrolled
Created by Packt Publishing
Last updated 5/2017
Current price: $10 Original price: $125 Discount: 92% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 2 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Build a simple app and run it on real and emulated devices
  • Explore the design support library and builder design pattern
  • Explore the WYSIWYG and XML approaches to material design provided within Android Studio
  • Apply transitions and shared elements to employ elegant animations and efficiently use the minimal screen space on mobile devices
  • Develop apps that automatically apply the best layouts for different devices by using designated directories
  • Explore adapter design patterns
  • Apply patterns directly to apps
View Curriculum
  • Basic Java programming knowledge is a must to get the most out of this video.

Are you an Android developer with some experience under your belt? Are you wondering how the experts create efficient and good-looking apps? With this video, your wait is over! 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.

Patterns provide a logical and elegant approach to solving many of the development problems that coders face. These patterns act as a guide, creating a clear path from problem to solution, and although applying a design pattern does not guarantee best practice in itself, it will hugely assist the process and make the discovery of design flaws far easier.

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

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.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
35 Lectures
Design Patterns
5 Lectures 23:15
This video gives an overview of the entire course.
Preview 01:54

In this video, we will be deciding the platform on which we would work, also, set the minimum version required.

Targeting Platform Versions

In this video, we will be building a simple app to generate an object representing different types of bread.

Support Library and Factory Pattern

In this video, we will be first connecting our app to a real device, then we will connect the app to a virtual device, and finally, we will be monitoring the devices.

Running and Testing an App

In this video, we will make use of a factory generator, which in turn makes use of an abstract factory class that handles the task of deciding which actual factory to call, and hence which concrete class to create.

The Abstract Factory Pattern
Creational Patterns
5 Lectures 21:28
We want our apps to stand out from the crowd and one way of doing it is customizing the theme.
Preview 03:18

Things we need to consider when applying a theme are colors and text. So, in this video we will customize color and text.

Customizing Color and Text

One of the most interesting challenges that Android offers is the vast number of screen densities and sizes that we have to cater for. So, in this video, we will be solving this problem using density independent pixels (dp).

Adding Image Resources

The card view is designed to show several pieces of content that all apply to a single subject. In this video, we will be implementing card view.

Creating Card View

The builder design pattern is one of the most useful creational patterns as it builds larger objects from smaller ones. In this video, we will represent calories as an integer and calculate the total amount in a finished sandwich.

Applying a Builder Pattern
Material Patterns
3 Lectures 20:13
In this video, we will be removing the old action bar and replace it with a customized app bar.
Preview 08:05

In this video, we will be learning about drawer construction and ratio keylines
The Navigation Drawer

In this video, we will be learning about singleton pattern

The Singleton Pattern
Layout Patterns
5 Lectures 19:01
In this video, you will be learning how to use linear layouts.
Preview 03:57

In this video, we will recreate the linear layout as a relative layout with no nested viewgroups.
Relative Layouts

In this video, we will be rotating a portrait layout into a landscape layout without affecting the quality.

Screen Rotation

The strategy pattern.

Large Screen Layout

In this video, we will make a strategy for an app where there are different modes of payment.
The Strategy Pattern
Structural Patterns
8 Lectures 19:37
Learning to generate list using RecyclerView and coordinator layout.
Preview 01:49

In this video, we will be having an image and a string in our item list and also learn about the material font sizes.
List Item Layouts

In this video, we will look at the working of the setup.

Connecting Data

In this video, we will create alternative values directories for different languages.

Translating String Resources

One way to solve the problem of incompatible interfaces is to change the interfaces themselves, but this can result in some very messy code and spaghetti-like connections between classes. Adapters solve this problem.

The Adapter Pattern

In this video, we will construct a simple bridge pattern.
The Bridge Pattern

In this video, we will be learning about facade patterns and we will be demonstrating it with an example of imaginary vending machine.

Facade Pattern

In this video, we will be implementing a filter to meet the vegetarian criteria.

The Criteria Pattern
Activating Patterns
9 Lectures 26:29

Toolbars that slide out of the way conveniently are a common feature of material design UIs, and provide an elegant and clever way to make good use of the limited space available on phones and even laptops.

Preview 04:40

In this video, we will apply a factory pattern to create objects  of the type cheese. This will in turn implement a filling interface.

Applying the Data Factory Pattern

In this video, we will create a very simple item for our recycler view list, which will contain just an image, a string, and an action button for the user.

Positioning Item Layouts

In this video, we will be creating a new adapter and layout manager.

Using Factory with Recycler View

In this video, we will be seeing how to swipe and dismiss cards.

Adding Dividers

In this video, we will be ensuring that the user is never more than one click away from spending their money and will be adding a checkout function to the activity.

Configuring Floating Action

In this video, we will be customizing the title and content of the dialog.
The Dialog Builder

In this video, we will be implementing the swipe and dismiss behavior.
Adding Swipe and Dismissing Actions

In this video, we will be following the builder design pattern to inflate a linear layout from a series of predefined layout views.

Constructing Layout Builders
About the Instructor
Packt Publishing
3.9 Average rating
8,175 Reviews
58,686 Students
686 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.