
This video gives glimpse of the entire course.
Introduction to Android Architecture Components.
• Get an overview of Architecture Components
• Introduction to Android Jetpack
• Explore the components of Android Architecture
How to easily integrate views with the data?
• Enable the layout file for data binding
• Bind layout and views with data
• Handle events using data binding
What is data binding?
• Understand what it is and its role in Android Architecture
• Create a new Android Studio Project
• Look at the steps to include data binding library in the android app
Learn how to easily integrate views with the data.
• Enable the layout file for data binding
• Bind layout and views with data
• Handle events using data binding
Make data objects observable and notify others about changes.
• Inherit from the provided class for listener registration mechanism
• Make the Object properties observable
• Notify others about the property change
Load image from a URL using data binding library.
• Update the UI as per the requirement
• Define the property for loading the image in the data object class
• Use the property as attribute in the layout file for data binding
What are lifecycle-aware components?
• Understand activity/fragments as lifecycle owner
• Learn that lifecycle observer observes lifecycle status of owner
• Understand lifecycle events and states
Demo on how lifecycle-aware components work.
• Add lifecycle owner
• Create lifecycle observer
• Run the app and see the demo
How to retain data on app configuration changes using ViewModel?
• Understand ViewModel
• Explore the Lifecycle of ViewModel
• Learn how ViewModel survives configuration changes
Implementing ViewModel in demo App
• Add dependencies for ViewModel
• Create instance of ViewModel
• Make a ViewModel class
How to observe changes in UI data?
• Understand what LiveData is and how it works
• Explore how LiveData can be used with ViewModel
• Run the app and see the demo
What is Navigation Architecture Component?
• Perceive the principles of Navigation Architecture Component
• Understand why to use Navigation Architecture Component
• Get an overview of the demo app
Create the set up for working on navigation.
• Add Dependencies
• Initialize the project setup
• Explore the key parts of the Navigation Architecture Component
How to use NavigationUI to add UI components to app?
• Set up the bottom navigation bar
• Set up the navigation drawer layout
• Set up the toolbar
How to use actions to navigate within the app?
• Understand what is action and how to create it
• Create action between destinations
• Use actions to navigate within the app
How to pass data between destinations while using Navigation Architecture Component?
• Add dependencies
• Add a argument to the destination
• Write a code to use SafeArgs to pass data
What is paging architecture component?
• Explore the advantages of paging architecture component
• Add dependencies
• Create a model class for API response
Fetch response from API.
• Create the interface for API call
• Create retrofit service builder class
• Make API call from MainActivity and test the API call
Create the Adapter and Datasource for paged data.
• Create an Adapter class for paged data
• Create the DataSource
• Explain the functions of DataSource
Fetch the paged data and display.
• Create the DataSource Factory
• Create a ViewModel
• Set up the MainActivty to show the paged data
Overview of room database architecture component.
• Know what a room is
• Understand the difference between SQL and room
• Add dependencies in project for room
Create components of room in android project.
• Create entity
• Create DAO
• Create database class
Steps to perform insert operation.
• Create the layout file and activity
• Update the components of room
• Connect UI to components of room
Use SQLite Database browser to view data.
• Install the package from the website
• Find the database files in emulator/android device
• See the database content on screen
Steps to fetch data from the room database and display it in RecyclerView.
• Update the components of room
• Create the adapter class for RecyclerView
• Populate the RecyclerView
Steps to perform update operation.
• Update the components of room
• Add the activity for editing note
• Connect UI to components of room
Steps to perform delete operation.
• Update the components of room
• Add interface for deleting the component
• Connect UI to components of the room
What is WorkManager?
• Get an overview of WorkManager
• Know the advantages of using WorkManager
• Understand the classes and concepts related to WorkManager
Steps to implement WorkManager in the Android project.
• Add dependencies
• Create worker class
• Use WorkManager to create request for work
Implementing constraints to tasks in WorkManager.
• Create the constraint
• Add it to the task
• Implement one or multiple constraints
Passing data to and from tasks using WorkManager.
• Create the data to be passed to task
• Use setInputData to pass the data
• Receive the data and return the result after the task is finished
Get a summary of the course and know what are the next steps
• Refresh the concepts learned throughout the course
• List the websites to refer in case of any doubt
Programming Android apps can be a complex process and a lack of knowledge about architecting your apps can result in spaghetti code and dead-ends. In order to deliver an extendable, maintainable, and testable codebase, you have to think about the architecture of your application from the very first stage of its development.
This course will show you all new Android Jetpack Architecture components and features. You will develop Android applications by making use of all the architecture components available with Jetpack to reduce bugs in your codebase and provide seamless and smooth application development. Adding architectural components to your projects will increase their scalability and reduce code bugs.
By the end of the course, you will know how to use Jetpack to manage background tasks, navigation, paging, life-cycle management, and much more.
About the Author
Annapurna Agrawal is an Android developer. She has also tried her hands on JavaScript, Kotlin, PHP, jQuery, CSS, and HTML. She is a software engineer from India and likes teaching. She is one of the trainers in the Google Developers Group at Bhubaneswar, Odisha in India. Besides all this, she practices yoga and meditation, YouTubing, and hanging out with friends. We are definitely going to get the best of quality here from her.